Class StackMap.SimpleCopy

java.lang.Object
javassist.bytecode.StackMap.Walker
javassist.bytecode.StackMap.SimpleCopy
Direct Known Subclasses:
StackMap.InsertLocal, StackMap.NewRemover
Enclosing class:
StackMap

static class StackMap.SimpleCopy extends StackMap.Walker
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) StackMap.Writer
     

    Fields inherited from class javassist.bytecode.StackMap.Walker

    info
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) byte[]
     
    int
    locals(int pos, int offset, int num)
    Invoked when locals of stack_map_frame is visited.
    void
    objectVariable(int pos, int clazz)
    Invoked when an element of type Object_variable_info is visited.
    void
    typeInfo(int pos, byte tag)
    Invoked when an element of verification_type_info (except Object_variable_info and Uninitialized_variable_info) is visited.
    int
    typeInfoArray(int pos, int offset, int num, boolean isLocals)
    Invoked when an array of verification_type_info is visited.
    void
    uninitialized(int pos, int offset)
    Invoked when an element of type Uninitialized_variable_info is visited.
    void
    Visits each entry of the stack map frames.

    Methods inherited from class javassist.bytecode.StackMap.Walker

    stack, typeInfoArray2

    Methods inherited from class java.lang.Object

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

  • Constructor Details

  • Method Details

    • doit

      byte[] doit()
    • visit

      public void visit()
      Description copied from class: StackMap.Walker
      Visits each entry of the stack map frames.
      Overrides:
      visit in class StackMap.Walker
    • locals

      public int locals(int pos, int offset, int num)
      Description copied from class: StackMap.Walker
      Invoked when locals of stack_map_frame is visited.
      Overrides:
      locals in class StackMap.Walker
    • typeInfoArray

      public int typeInfoArray(int pos, int offset, int num, boolean isLocals)
      Description copied from class: StackMap.Walker
      Invoked when an array of verification_type_info is visited.
      Overrides:
      typeInfoArray in class StackMap.Walker
      Parameters:
      num - the number of elements.
      isLocals - true if this array is for locals. false if it is for stack.
    • typeInfo

      public void typeInfo(int pos, byte tag)
      Description copied from class: StackMap.Walker
      Invoked when an element of verification_type_info (except Object_variable_info and Uninitialized_variable_info) is visited.
      Overrides:
      typeInfo in class StackMap.Walker
    • objectVariable

      public void objectVariable(int pos, int clazz)
      Description copied from class: StackMap.Walker
      Invoked when an element of type Object_variable_info is visited.
      Overrides:
      objectVariable in class StackMap.Walker
    • uninitialized

      public void uninitialized(int pos, int offset)
      Description copied from class: StackMap.Walker
      Invoked when an element of type Uninitialized_variable_info is visited.
      Overrides:
      uninitialized in class StackMap.Walker