类 Context
java.lang.Object
cn.taketoday.bytecode.Context
Information about a class being parsed in a
ClassReader.- 作者:
- Eric Bruneton
-
字段概要
字段修饰符和类型字段说明The prototypes of the attributes that must be parsed in this class.char[]The buffer used to read strings in the constant pool.intThe number of local variable types in the current stack map frame.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).Object[]The types of the local variables in the current stack map frame.intThe bytecode offset of the current stack map frame.intThe number stack element types in the current stack map frame.Object[]The types of the stack elements in the current stack map frame.intThe type of the current stack map frame.Label[]The end of each local variable range in the current local variable annotation.int[]The local variable index of each local variable range in the current local variable annotation.Label[]The start of each local variable range in the current local variable annotation.intThe access flags of the current method.The descriptor of the current method.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).The name of the current method.intThe target_type and target_info of the current type annotation target, encoded as described inTypeReference.The target_path of the current type annotation target.intThe options used to parse this class. -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
attributePrototypes
The prototypes of the attributes that must be parsed in this class. -
parsingOptions
public 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
public char[] charBufferThe buffer used to read strings in the constant pool. -
currentMethodAccessFlags
public int currentMethodAccessFlagsThe access flags of the current method. -
currentMethodName
The name of the current method. -
currentMethodDescriptor
The descriptor of the current method. -
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
public int currentTypeAnnotationTargetThe target_type and target_info of the current type annotation target, encoded as described inTypeReference. -
currentTypeAnnotationTargetPath
The target_path of the current type annotation target. -
currentLocalVariableAnnotationRangeStarts
The start of each local variable range in the current local variable annotation. -
currentLocalVariableAnnotationRangeEnds
The end of each local variable range in the current local variable annotation. -
currentLocalVariableAnnotationRangeIndices
public int[] currentLocalVariableAnnotationRangeIndicesThe local variable index of each local variable range in the current local variable annotation. -
currentFrameOffset
public int currentFrameOffsetThe bytecode offset of the current stack map frame. -
currentFrameType
public 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
public 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
public 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
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
public 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
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[]).
-
-
构造器详细资料
-
Context
Context()
-