Package org.objectweb.asm
Class Context
java.lang.Object
org.objectweb.asm.Context
Information about a class being parsed in a
ClassReader.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Attribute[]The prototypes of the attributes that must be parsed in this class.(package private) char[]The buffer used to read strings in the constant pool.(package private) intThe number of local variable types in the current stack map frame.(package private) intThe 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) Object[]The types of the local variables in the current stack map frame.(package private) intThe bytecode offset of the current stack map frame.(package private) intThe number stack element types in the current stack map frame.(package private) Object[]The types of the stack elements in the current stack map frame.(package private) intThe type of the current stack map frame.(package private) Label[]The end of each local variable range in the current local variable annotation.(package private) int[]The local variable index of each local variable range in the current local variable annotation.(package private) Label[]The start of each local variable range in the current local variable annotation.(package private) intThe access flags of the current method.(package private) StringThe descriptor of the current method.(package private) Label[]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).(package private) StringThe name of the current method.(package private) intThe target_type and target_info of the current type annotation target, encoded as described inTypeReference.(package private) TypePathThe target_path of the current type annotation target.(package private) intThe options used to parse this class. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
attributePrototypes
Attribute[] attributePrototypesThe prototypes of the attributes that must be parsed in this class. -
parsingOptions
int parsingOptionsThe 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[] charBufferThe buffer used to read strings in the constant pool. -
currentMethodAccessFlags
int currentMethodAccessFlagsThe access flags of the current method. -
currentMethodName
String currentMethodNameThe name of the current method. -
currentMethodDescriptor
String currentMethodDescriptorThe descriptor of the current method. -
currentMethodLabels
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). -
currentTypeAnnotationTarget
int currentTypeAnnotationTargetThe target_type and target_info of the current type annotation target, encoded as described inTypeReference. -
currentTypeAnnotationTargetPath
TypePath currentTypeAnnotationTargetPathThe target_path of the current type annotation target. -
currentLocalVariableAnnotationRangeStarts
Label[] currentLocalVariableAnnotationRangeStartsThe start of each local variable range in the current local variable annotation. -
currentLocalVariableAnnotationRangeEnds
Label[] currentLocalVariableAnnotationRangeEndsThe end of each local variable range in the current local variable annotation. -
currentLocalVariableAnnotationRangeIndices
int[] currentLocalVariableAnnotationRangeIndicesThe local variable index of each local variable range in the current local variable annotation. -
currentFrameOffset
int currentFrameOffsetThe bytecode offset of the current stack map frame. -
currentFrameType
int currentFrameTypeThe type of the current stack map frame. One ofOpcodes.F_FULL,Opcodes.F_APPEND,Opcodes.F_CHOP,Opcodes.F_SAMEorOpcodes.F_SAME1. -
currentFrameLocalCount
int currentFrameLocalCountThe 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 currentFrameLocalCountDeltaThe 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
Object[] currentFrameLocalTypesThe 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 currentFrameStackCountThe number stack element types in the current stack map frame. Each type is represented with a single array element (even long and double). -
currentFrameStackTypes
Object[] currentFrameStackTypesThe 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[]).
-
-
Constructor Details
-
Context
Context()
-