public static interface UnpickV2Reader.Visitor
| Modifier and Type | Method and Description |
|---|---|
default void |
endVisit()
Visits the end of the file.
|
default void |
startVisit()
Visits the start of the file.
|
default void |
visitFlagConstantDefinition(java.lang.String group,
java.lang.String owner,
java.lang.String name,
java.lang.String value,
java.lang.String descriptor)
Visits a flag constant definition (start token
flag).value and descriptor will either both have a value or both be null. |
default void |
visitLineNumber(int lineNumber)
Visits the line number.
|
default void |
visitSimpleConstantDefinition(java.lang.String group,
java.lang.String owner,
java.lang.String name,
java.lang.String value,
java.lang.String descriptor)
Visits a simple constant definition (start token
constant).value and descriptor will either both have a value or both be null. |
default UnpickV2Reader.TargetMethodDefinitionVisitor |
visitTargetMethodDefinition(java.lang.String owner,
java.lang.String name,
java.lang.String descriptor)
Visits a target method definition (start token
target_method). |
default void startVisit()
default void visitLineNumber(int lineNumber)
lineNumber - the number of the line that is about to be visited.default void visitSimpleConstantDefinition(java.lang.String group,
java.lang.String owner,
java.lang.String name,
java.lang.String value,
java.lang.String descriptor)
constant).value and descriptor will either both have a value or both be null.group - the id of the constant's constant group.owner - the internal name of the constant's owner class.name - the constant's Java identifier.value - the constant's value as a String, or null if it is not specified (will be resolved at runtime).descriptor - the constant's descriptor, or null if it is not specified (will be resolved at runtime).default void visitFlagConstantDefinition(java.lang.String group,
java.lang.String owner,
java.lang.String name,
java.lang.String value,
java.lang.String descriptor)
flag).value and descriptor will either both have a value or both be null.group - the id of the constant's constant group.owner - the internal name of the constant's owner class.name - the constant's Java identifier.value - the constant's value as a String, or null if it is not specified (will be resolved at runtime).descriptor - the constant's descriptor, or null if it is not specified (will be resolved at runtime).default UnpickV2Reader.TargetMethodDefinitionVisitor visitTargetMethodDefinition(java.lang.String owner, java.lang.String name, java.lang.String descriptor)
target_method).owner - the internal name of the method's owner class.name - the method's Java identifier.descriptor - the method's descriptor.TargetMethodDefinitionVisitor that should visit the parameter and return groups of the
target method definition, or null if they should not be visited.default void endVisit()