@Deprecated public class IndyInterface extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
IndyInterface.CallType
Deprecated.  
Enum for easy differentiation between call types 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static int | 
GROOVY_OBJECT
Deprecated.  
flags for method and property calls 
 | 
static int | 
IMPLICIT_THIS
Deprecated.  
flags for method and property calls 
 | 
protected static Logger | 
LOG
Deprecated.  
Logger 
 | 
protected static boolean | 
LOG_ENABLED
Deprecated.  
boolean to indicate if logging for indy is enabled 
 | 
static MethodHandles.Lookup | 
LOOKUP
Deprecated.  
LOOKUP constant used for for example unreflect calls 
 | 
static int | 
SAFE_NAVIGATION
Deprecated.  
flags for method and property calls 
 | 
static int | 
SPREAD_CALL
Deprecated.  
flags for method and property calls 
 | 
protected static SwitchPoint | 
switchPoint
Deprecated.  
  | 
static int | 
THIS_CALL
Deprecated.  
flags for method and property calls 
 | 
static int | 
UNCACHED_CALL
Deprecated.  
flags for method and property calls 
 | 
| Constructor and Description | 
|---|
IndyInterface()
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
static CallSite | 
bootstrap(MethodHandles.Lookup caller,
         String callType,
         MethodType type,
         String name,
         int flags)
Deprecated.  
bootstrap method for method calls from Groovy compiled code with indy
 enabled. 
 | 
static Object | 
fromCache(MutableCallSite callSite,
         Class<?> sender,
         String methodName,
         int callID,
         Boolean safeNavigation,
         Boolean thisCall,
         Boolean spreadCall,
         Object dummyReceiver,
         Object[] arguments)
Deprecated.  
Get the cached methodhandle. 
 | 
protected static void | 
invalidateSwitchPoints()
Deprecated.  
Callback for constant meta class update change 
 | 
protected static MethodHandle | 
makeFallBack(MutableCallSite mc,
            Class<?> sender,
            String name,
            int callID,
            MethodType type,
            boolean safeNavigation,
            boolean thisCall,
            boolean spreadCall)
Deprecated.  
Makes a fallback method for an invalidated method selection 
 | 
static Object | 
selectMethod(MutableCallSite callSite,
            Class<?> sender,
            String methodName,
            int callID,
            Boolean safeNavigation,
            Boolean thisCall,
            Boolean spreadCall,
            Object dummyReceiver,
            Object[] arguments)
Deprecated.  
Core method for indy method selection using runtime types. 
 | 
static CallSite | 
staticArrayAccess(MethodHandles.Lookup lookup,
                 String name,
                 MethodType type)
Deprecated.  
  | 
public static final int SAFE_NAVIGATION
public static final int THIS_CALL
public static final int GROOVY_OBJECT
public static final int IMPLICIT_THIS
public static final int SPREAD_CALL
public static final int UNCACHED_CALL
protected static final Logger LOG
protected static final boolean LOG_ENABLED
public static final MethodHandles.Lookup LOOKUP
protected static SwitchPoint switchPoint
protected static void invalidateSwitchPoints()
public static CallSite bootstrap(MethodHandles.Lookup caller, String callType, MethodType type, String name, int flags)
SAFE_NAVIGATIONTHIS_CALLcaller - - the callercallType - - the type of the calltype - - the call site typename - - the real method nameflags - - call flagsprotected static MethodHandle makeFallBack(MutableCallSite mc, Class<?> sender, String name, int callID, MethodType type, boolean safeNavigation, boolean thisCall, boolean spreadCall)
public static Object fromCache(MutableCallSite callSite, Class<?> sender, String methodName, int callID, Boolean safeNavigation, Boolean thisCall, Boolean spreadCall, Object dummyReceiver, Object[] arguments) throws Throwable
Throwablepublic static Object selectMethod(MutableCallSite callSite, Class<?> sender, String methodName, int callID, Boolean safeNavigation, Boolean thisCall, Boolean spreadCall, Object dummyReceiver, Object[] arguments) throws Throwable
Throwablepublic static CallSite staticArrayAccess(MethodHandles.Lookup lookup, String name, MethodType type)