Class Context

java.lang.Object
org.objectweb.asm.Context

final class Context extends Object
Information about a class being parsed in a ClassReader.
  • Field Details

    • attributePrototypes

      Attribute[] attributePrototypes
      The prototypes of the attributes that must be parsed in this class.
    • parsingOptions

      int parsingOptions
    • charBuffer

      char[] charBuffer
      The buffer used to read strings in the constant pool.
    • currentMethodAccessFlags

      int currentMethodAccessFlags
      The access flags of the current method.
    • currentMethodName

      String currentMethodName
      The name of the current method.
    • currentMethodDescriptor

      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 in TypeReference.
    • 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 of Opcodes.F_FULL, Opcodes.F_APPEND, Opcodes.F_CHOP, Opcodes.F_SAME or Opcodes.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

      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 in 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).
    • 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

      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 in MethodVisitor.visitFrame(int, int, java.lang.Object[], int, java.lang.Object[]).
  • Constructor Details

    • Context

      Context()