Class Context

java.lang.Object
org.eclipse.sisu.space.asm.Context

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

    Fields
    Modifier and Type
    Field
    Description
    (package private) int
    The access flags of the method currently being parsed.
    (package private) Attribute[]
    Prototypes of the attributes that must be parsed for this class.
    (package private) int[]
    The start index of each bootstrap method.
    (package private) char[]
    The buffer used to read strings.
    (package private) String
    The descriptor of the method currently being parsed.
    (package private) Label[]
    The labels corresponding to the end of the local variable ranges in the local variable type annotation currently being parsed.
    (package private) int
    The ClassReader option flags for the parsing of this class.
    (package private) int[]
    The local variable indices for each local variable range in the local variable type annotation currently being parsed.
    (package private) Label[]
    The label objects, indexed by bytecode offset, of the method currently being parsed (only bytecode offsets for which a label is needed have a non null associated Label object).
    (package private) Object[]
    The local values of the latest stack map frame that has been parsed.
    (package private) int
    The number of locals in the latest stack map frame that has been parsed.
    (package private) int
    The number locals in the latest stack map frame that has been parsed, minus the number of locals in the previous frame.
    (package private) int
    The encoding of the latest stack map frame that has been parsed.
    (package private) String
    The name of the method currently being parsed.
    (package private) int
    The offset of the latest stack map frame that has been parsed.
    (package private) Object[]
    The stack values of the latest stack map frame that has been parsed.
    (package private) int
    The stack size of the latest stack map frame that has been parsed.
    (package private) Label[]
    The labels corresponding to the start of the local variable ranges in the local variable type annotation currently being parsed.
    (package private) TypePath
    The path of the type annotation currently being parsed.
    (package private) int
    The target of the type annotation currently being parsed.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • attrs

      Attribute[] attrs
      Prototypes of the attributes that must be parsed for this class.
    • flags

      int flags
      The ClassReader option flags for the parsing of this class.
    • buffer

      char[] buffer
      The buffer used to read strings.
    • bootstrapMethods

      int[] bootstrapMethods
      The start index of each bootstrap method.
    • access

      int access
      The access flags of the method currently being parsed.
    • name

      String name
      The name of the method currently being parsed.
    • desc

      String desc
      The descriptor of the method currently being parsed.
    • labels

      Label[] labels
      The label objects, indexed by bytecode offset, of the method currently being parsed (only bytecode offsets for which a label is needed have a non null associated Label object).
    • typeRef

      int typeRef
      The target of the type annotation currently being parsed.
    • typePath

      TypePath typePath
      The path of the type annotation currently being parsed.
    • offset

      int offset
      The offset of the latest stack map frame that has been parsed.
    • start

      Label[] start
      The labels corresponding to the start of the local variable ranges in the local variable type annotation currently being parsed.
    • end

      Label[] end
      The labels corresponding to the end of the local variable ranges in the local variable type annotation currently being parsed.
    • index

      int[] index
      The local variable indices for each local variable range in the local variable type annotation currently being parsed.
    • mode

      int mode
      The encoding of the latest stack map frame that has been parsed.
    • localCount

      int localCount
      The number of locals in the latest stack map frame that has been parsed.
    • localDiff

      int localDiff
      The number locals in the latest stack map frame that has been parsed, minus the number of locals in the previous frame.
    • local

      Object[] local
      The local values of the latest stack map frame that has been parsed.
    • stackCount

      int stackCount
      The stack size of the latest stack map frame that has been parsed.
    • stack

      Object[] stack
      The stack values of the latest stack map frame that has been parsed.
  • Constructor Details

    • Context

      Context()