Package org.objectweb.asm
Class Context
- java.lang.Object
-
- org.objectweb.asm.Context
-
final class Context extends java.lang.ObjectInformation about a class being parsed in aClassReader.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Attribute[]attributePrototypesThe prototypes of the attributes that must be parsed in this class.(package private) char[]charBufferThe buffer used to read strings in the constant pool.(package private) intcurrentFrameLocalCountThe number of local variable types in the current stack map frame.(package private) intcurrentFrameLocalCountDeltaThe delta number of local variable types in the current stack map frame (each type is represented with a single array element - even long and double).(package private) java.lang.Object[]currentFrameLocalTypesThe types of the local variables in the current stack map frame.(package private) intcurrentFrameOffsetThe bytecode offset of the current stack map frame.(package private) intcurrentFrameStackCountThe number stack element types in the current stack map frame.(package private) java.lang.Object[]currentFrameStackTypesThe types of the stack elements in the current stack map frame.(package private) intcurrentFrameTypeThe type of the current stack map frame.(package private) Label[]currentLocalVariableAnnotationRangeEndsThe end of each local variable range in the current local variable annotation.(package private) int[]currentLocalVariableAnnotationRangeIndicesThe local variable index of each local variable range in the current local variable annotation.(package private) Label[]currentLocalVariableAnnotationRangeStartsThe start of each local variable range in the current local variable annotation.(package private) intcurrentMethodAccessFlagsThe access flags of the current method.(package private) java.lang.StringcurrentMethodDescriptorThe descriptor of the current method.(package private) Label[]currentMethodLabelsThe labels of the current method, indexed by bytecode offset (only bytecode offsets for which a label is needed have a non null associated Label).(package private) java.lang.StringcurrentMethodNameThe name of the current method.(package private) intcurrentTypeAnnotationTargetThe target_type and target_info of the current type annotation target, encoded as described inTypeReference.(package private) TypePathcurrentTypeAnnotationTargetPathThe target_path of the current type annotation target.(package private) intparsingOptionsThe options used to parse this class.
-
Constructor Summary
Constructors Constructor Description Context()
-
-
-
Field Detail
-
attributePrototypes
Attribute[] attributePrototypes
The prototypes of the attributes that must be parsed in this class.
-
parsingOptions
int parsingOptions
The options used to parse this class. One or more ofClassReader.SKIP_CODE,ClassReader.SKIP_DEBUG,ClassReader.SKIP_FRAMES,ClassReader.EXPAND_FRAMESorClassReader.EXPAND_ASM_INSNS.
-
charBuffer
char[] charBuffer
The buffer used to read strings in the constant pool.
-
currentMethodAccessFlags
int currentMethodAccessFlags
The access flags of the current method.
-
currentMethodName
java.lang.String currentMethodName
The name of the current method.
-
currentMethodDescriptor
java.lang.String currentMethodDescriptor
The descriptor of the current method.
-
currentMethodLabels
Label[] currentMethodLabels
The labels of the current method, indexed by bytecode offset (only bytecode offsets for which a label is needed have a non null associated Label).
-
currentTypeAnnotationTarget
int currentTypeAnnotationTarget
The target_type and target_info of the current type annotation target, encoded as described inTypeReference.
-
currentTypeAnnotationTargetPath
TypePath currentTypeAnnotationTargetPath
The target_path of the current type annotation target.
-
currentLocalVariableAnnotationRangeStarts
Label[] currentLocalVariableAnnotationRangeStarts
The start of each local variable range in the current local variable annotation.
-
currentLocalVariableAnnotationRangeEnds
Label[] currentLocalVariableAnnotationRangeEnds
The end of each local variable range in the current local variable annotation.
-
currentLocalVariableAnnotationRangeIndices
int[] currentLocalVariableAnnotationRangeIndices
The local variable index of each local variable range in the current local variable annotation.
-
currentFrameOffset
int currentFrameOffset
The bytecode offset of the current stack map frame.
-
currentFrameType
int currentFrameType
The type of the current stack map frame. One ofOpcodes.F_FULL,Opcodes.F_APPEND,Opcodes.F_CHOP,Opcodes.F_SAMEorOpcodes.F_SAME1.
-
currentFrameLocalCount
int currentFrameLocalCount
The number of local variable types in the current stack map frame. Each type is represented with a single array element (even long and double).
-
currentFrameLocalCountDelta
int currentFrameLocalCountDelta
The delta number of local variable types in the current stack map frame (each type is represented with a single array element - even long and double). This is the number of local variable types in this frame, minus the number of local variable types in the previous frame.
-
currentFrameLocalTypes
java.lang.Object[] currentFrameLocalTypes
The types of the local variables in the current stack map frame. Each type is represented with a single array element (even long and double), using the format described inMethodVisitor.visitFrame(int, int, java.lang.Object[], int, java.lang.Object[]). Depending oncurrentFrameType, this contains the types of all the local variables, or only those of the additional ones (compared to the previous frame).
-
currentFrameStackCount
int currentFrameStackCount
The number stack element types in the current stack map frame. Each type is represented with a single array element (even long and double).
-
currentFrameStackTypes
java.lang.Object[] currentFrameStackTypes
The types of the stack elements in the current stack map frame. Each type is represented with a single array element (even long and double), using the format described inMethodVisitor.visitFrame(int, int, java.lang.Object[], int, java.lang.Object[]).
-
-