Package | Description |
---|---|
org.objectweb.asm |
Provides a small and fast bytecode manipulation framework.
|
Modifier and Type | Method and Description |
---|---|
private void |
ClassReader.computeImplicitFrame(Context context)
Computes the implicit frame of the method currently being parsed (as defined in the given
Context ) and stores it in the given context. |
private void |
ClassReader.readCode(MethodVisitor methodVisitor,
Context context,
int codeOffset)
Reads a JVMS 'Code' attribute and makes the given visitor visit it.
|
private int |
ClassReader.readField(ClassVisitor classVisitor,
Context context,
int fieldInfoOffset)
Reads a JVMS field_info structure and makes the given visitor visit it.
|
private int |
ClassReader.readMethod(ClassVisitor classVisitor,
Context context,
int methodInfoOffset)
Reads a JVMS method_info structure and makes the given visitor visit it.
|
private void |
ClassReader.readModuleAttributes(ClassVisitor classVisitor,
Context context,
int moduleOffset,
int modulePackagesOffset,
java.lang.String moduleMainClass)
Reads the Module, ModulePackages and ModuleMainClass attributes and visit them.
|
private void |
ClassReader.readParameterAnnotations(MethodVisitor methodVisitor,
Context context,
int runtimeParameterAnnotationsOffset,
boolean visible)
Reads a Runtime[In]VisibleParameterAnnotations attribute and makes the given visitor visit it.
|
private int |
ClassReader.readStackMapFrame(int stackMapFrameOffset,
boolean compressed,
boolean expand,
Context context)
Reads a JVMS 'stack_map_frame' structure and stores the result in the given
Context
object. |
private int[] |
ClassReader.readTypeAnnotations(MethodVisitor methodVisitor,
Context context,
int runtimeTypeAnnotationsOffset,
boolean visible)
Parses a Runtime[In]VisibleTypeAnnotations attribute to find the offset of each type_annotation
entry it contains, to find the corresponding labels, and to visit the try catch block
annotations.
|
private int |
ClassReader.readTypeAnnotationTarget(Context context,
int typeAnnotationOffset)
Parses the header of a JVMS type_annotation structure to extract its target_type, target_info
and target_path (the result is stored in the given context), and returns the start offset of
the rest of the type_annotation structure.
|