final class Context
extends java.lang.Object
ClassReader
.Modifier and Type | Field and Description |
---|---|
(package private) Attribute[] |
attributePrototypes
The prototypes of the attributes that must be parsed in this class.
|
(package private) char[] |
charBuffer
The buffer used to read strings in the constant pool.
|
(package private) int |
currentFrameLocalCount
The number of local variable types in the current stack map frame.
|
(package private) 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).
|
(package private) java.lang.Object[] |
currentFrameLocalTypes
The types of the local variables in the current stack map frame.
|
(package private) int |
currentFrameOffset
The bytecode offset of the current stack map frame.
|
(package private) int |
currentFrameStackCount
The number stack element types in the current stack map frame.
|
(package private) java.lang.Object[] |
currentFrameStackTypes
The types of the stack elements in the current stack map frame.
|
(package private) int |
currentFrameType
The type of the current stack map frame.
|
(package private) Label[] |
currentLocalVariableAnnotationRangeEnds
The end of each local variable range in the current local variable annotation.
|
(package private) int[] |
currentLocalVariableAnnotationRangeIndices
The local variable index of each local variable range in the current local variable annotation.
|
(package private) Label[] |
currentLocalVariableAnnotationRangeStarts
The start of each local variable range in the current local variable annotation.
|
(package private) int |
currentMethodAccessFlags
The access flags of the current method.
|
(package private) java.lang.String |
currentMethodDescriptor
The descriptor of the current method.
|
(package private) 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).
|
(package private) java.lang.String |
currentMethodName
The name of the current method.
|
(package private) int |
currentTypeAnnotationTarget
The target_type and target_info of the current type annotation target, encoded as described in
TypeReference . |
(package private) TypePath |
currentTypeAnnotationTargetPath
The target_path of the current type annotation target.
|
(package private) int |
parsingOptions
The options used to parse this class.
|
Constructor and Description |
---|
Context() |
Attribute[] attributePrototypes
int parsingOptions
ClassReader.SKIP_CODE
, ClassReader.SKIP_DEBUG
, ClassReader.SKIP_FRAMES
, ClassReader.EXPAND_FRAMES
or
ClassReader.EXPAND_ASM_INSNS
.char[] charBuffer
int currentMethodAccessFlags
java.lang.String currentMethodName
java.lang.String currentMethodDescriptor
Label[] currentMethodLabels
int currentTypeAnnotationTarget
TypeReference
.TypePath currentTypeAnnotationTargetPath
Label[] currentLocalVariableAnnotationRangeStarts
Label[] currentLocalVariableAnnotationRangeEnds
int[] currentLocalVariableAnnotationRangeIndices
int currentFrameOffset
int currentFrameType
Opcodes.F_FULL
, Opcodes.F_APPEND
, Opcodes.F_CHOP
, Opcodes.F_SAME
or Opcodes.F_SAME1
.int currentFrameLocalCount
int currentFrameLocalCountDelta
java.lang.Object[] currentFrameLocalTypes
MethodVisitor.visitFrame(int, int, java.lang.Object[], int, java.lang.Object[])
. Depending on currentFrameType
, this contains the types of
all the local variables, or only those of the additional ones (compared to the previous frame).int currentFrameStackCount
java.lang.Object[] currentFrameStackTypes
MethodVisitor.visitFrame(int, int, java.lang.Object[], int, java.lang.Object[])
.