Class CallSiteGenerator
java.lang.Object
org.codehaus.groovy.runtime.callsite.CallSiteGenerator
public class CallSiteGenerator
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description static java.lang.reflect.ConstructorcompilePogoMethod(CachedMethod cachedMethod)static java.lang.reflect.ConstructorcompilePojoMethod(CachedMethod cachedMethod)static java.lang.reflect.ConstructorcompileStaticMethod(CachedMethod cachedMethod)static voidgenCallWithFixedParams(org.objectweb.asm.ClassWriter cw, java.lang.String name, java.lang.String superClass, CachedMethod cachedMethod, java.lang.String receiverType)static voidgenCallXxxWithArray(org.objectweb.asm.ClassWriter cw, java.lang.String name, java.lang.String superClass, CachedMethod cachedMethod, java.lang.String receiverType)static byte[]genPogoMetaMethodSite(CachedMethod cachedMethod, org.objectweb.asm.ClassWriter cw, java.lang.String name)static byte[]genPojoMetaMethodSite(CachedMethod cachedMethod, org.objectweb.asm.ClassWriter cw, java.lang.String name)static byte[]genStaticMetaMethodSite(CachedMethod cachedMethod, org.objectweb.asm.ClassWriter cw, java.lang.String name)static booleanisCompilable(CachedMethod method)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
genCallWithFixedParams
public static void genCallWithFixedParams(org.objectweb.asm.ClassWriter cw, java.lang.String name, java.lang.String superClass, CachedMethod cachedMethod, java.lang.String receiverType) -
genCallXxxWithArray
public static void genCallXxxWithArray(org.objectweb.asm.ClassWriter cw, java.lang.String name, java.lang.String superClass, CachedMethod cachedMethod, java.lang.String receiverType) -
genPogoMetaMethodSite
public static byte[] genPogoMetaMethodSite(CachedMethod cachedMethod, org.objectweb.asm.ClassWriter cw, java.lang.String name) -
genPojoMetaMethodSite
public static byte[] genPojoMetaMethodSite(CachedMethod cachedMethod, org.objectweb.asm.ClassWriter cw, java.lang.String name) -
genStaticMetaMethodSite
public static byte[] genStaticMetaMethodSite(CachedMethod cachedMethod, org.objectweb.asm.ClassWriter cw, java.lang.String name) -
compilePogoMethod
-
compilePojoMethod
-
compileStaticMethod
-
isCompilable
-