Class MethodCaller

java.lang.Object
org.codehaus.groovy.classgen.asm.MethodCaller

public class MethodCaller extends Object
A helper class to invoke methods more easily in ASM
  • Constructor Details

    • MethodCaller

      protected MethodCaller()
      Since:
      2.5.0
    • MethodCaller

      public MethodCaller(int opcode, Class theClass, String name)
    • MethodCaller

      public MethodCaller(int opcode, Class theClass, String name, int parameterCount)
  • Method Details

    • newStatic

      public static MethodCaller newStatic(Class theClass, String name)
    • newStatic

      public static MethodCaller newStatic(Class theClass, String name, int parameterCount)
    • newInterface

      public static MethodCaller newInterface(Class theClass, String name)
    • newVirtual

      public static MethodCaller newVirtual(Class theClass, String name)
    • call

      public void call(org.objectweb.asm.MethodVisitor methodVisitor)
    • getMethodDescriptor

      public String getMethodDescriptor()
    • getMethod

      protected Method getMethod()