类 CodeEmitter


public class CodeEmitter extends GeneratorAdapter
作者:
Juozas Baliuka, Chris Nokleberg, Harry Yang
  • 构造器详细资料

  • 方法详细资料

    • isStaticHook

      public boolean isStaticHook()
    • getSignature

      public MethodSignature getSignature()
    • getMethodInfo

      public MethodInfo getMethodInfo()
    • getClassEmitter

      public ClassEmitter getClassEmitter()
    • end_method

      public void end_method()
    • begin_block

      public Block begin_block()
    • catchException

      public void catchException(Block block, Type exception)
    • getField

      public void getField(String name)
    • putField

      public void putField(String name)
    • super_getfield

      public void super_getfield(String name, Type type)
    • super_putfield

      public void super_putfield(String name, Type type)
    • super_getstatic

      public void super_getstatic(String name, Type type)
    • super_putstatic

      public void super_putstatic(String name, Type type)
    • super_invoke

      public void super_invoke()
    • super_invoke

      public void super_invoke(MethodSignature sig)
    • super_invoke_constructor

      public void super_invoke_constructor()
    • invoke_constructor_this

      public void invoke_constructor_this()
    • invokeStatic

      public void invokeStatic(Type owner, MethodSignature sig, boolean isInterface)
    • invoke_virtual_this

      public void invoke_virtual_this(MethodSignature sig)
    • invoke_static_this

      public void invoke_static_this(MethodSignature sig)
    • invoke_constructor_this

      public void invoke_constructor_this(MethodSignature sig)
    • super_invoke_constructor

      public void super_invoke_constructor(MethodSignature sig)
    • new_instance_this

      public void new_instance_this()
    • checkcast_this

      public void checkcast_this()
    • instance_of_this

      public void instance_of_this()
    • zero_or_null

      public void zero_or_null(Type type)
      Pushes a zero onto the stack if the argument is a primitive class, or a null otherwise.
    • unbox_or_zero

      public void unbox_or_zero(Type type)
      Unboxes the object on the top of the stack. If the object is null, the unboxed primitive value becomes zero.
    • visitMaxs

      public void visitMaxs(int maxStack, int maxLocals)
      从类复制的说明: MethodVisitor
      Visits the maximum stack size and the maximum number of local variables of the method.
      覆盖:
      visitMaxs 在类中 LocalVariablesSorter
      参数:
      maxStack - maximum stack size of the method.
      maxLocals - maximum number of local variables for the method.
    • invoke

      public void invoke(MethodInfo method, Type virtualType)
    • invoke

      public void invoke(MethodInfo method)