Package org.datanucleus.enhancer.asm
Class Context
- java.lang.Object
-
- org.datanucleus.enhancer.asm.Context
-
final class Context extends java.lang.Object
Information about a class being parsed in aClassReader
.
-
-
Field Summary
Fields Modifier and Type Field 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 inTypeReference
.(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 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_FRAMES
orClassReader.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_SAME
orOpcodes.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[])
.
-
-