Deprecated
| Modifier and Type | Class and Description |
|---|---|
| public static enum | IndyInterface.CallType
Enum for easy differentiation between call types. |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GROOVY_OBJECT
Flags for method and property calls. |
| public static final int | IMPLICIT_THIS
Flags for method and property calls. |
| protected static Logger | |
| protected static final boolean | |
| public static final MethodHandles. | LOOKUP
LOOKUP constant used for example in unreflect calls. |
| public static final int | SAFE_NAVIGATION
Flags for method and property calls. |
| public static final int | SPREAD_CALL
Flags for method and property calls. |
| protected static SwitchPoint | |
| public static final int | THIS_CALL
Flags for method and property calls. |
| public static final int | UNCACHED_CALL
Flags for method and property calls. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static CallSite | Returns: the produced CallSite- the caller caller,- the type of the call callType, MethodType - the call site type type, String - the real method name name, int - call flags flags)Bootstrap method for method calls from Groovy compiled code with indy enabled. |
| public static Object | |
| protected static void | |
| public static Object | selectMethod(MutableCallSite callSite, Class<?> sender, String methodName, int callID, Boolean safeNavigation, Boolean thisCall, Boolean spreadCall, Object dummyReceiver, Object[] arguments)
Core method for indy method selection using runtime types. |
| public static CallSite |
| GROOVY_OBJECT | back to summary |
|---|---|
| public static final int GROOVY_OBJECT Flags for method and property calls. | |
| IMPLICIT_THIS | back to summary |
|---|---|
| public static final int IMPLICIT_THIS Flags for method and property calls. | |
| LOG | back to summary |
|---|---|
| protected static Logger LOG | |
| LOG_ENABLED | back to summary |
|---|---|
| protected static final boolean LOG_ENABLED | |
| LOOKUP | back to summary |
|---|---|
| public static final MethodHandles. LOOKUP constant used for example in unreflect calls. | |
| SAFE_NAVIGATION | back to summary |
|---|---|
| public static final int SAFE_NAVIGATION Flags for method and property calls. | |
| SPREAD_CALL | back to summary |
|---|---|
| public static final int SPREAD_CALL Flags for method and property calls. | |
| switchPoint | back to summary |
|---|---|
| protected static SwitchPoint switchPoint | |
| THIS_CALL | back to summary |
|---|---|
| public static final int THIS_CALL Flags for method and property calls. | |
| UNCACHED_CALL | back to summary |
|---|---|
| public static final int UNCACHED_CALL Flags for method and property calls. | |
| IndyInterface | back to summary |
|---|---|
| public IndyInterface() | |
| bootstrap | back to summary |
|---|---|
| public static CallSite bootstrap(MethodHandles. Bootstrap method for method calls from Groovy compiled code with indy enabled. This method gets a flags parameter which uses the following encoding:
| |
| fromCache | back to summary |
|---|---|
| public static Object fromCache(MutableCallSite callSite, Class<?> sender, String methodName, int callID, Boolean safeNavigation, Boolean thisCall, Boolean spreadCall, Object dummyReceiver, Object[] arguments) throws Throwable Get the cached methodhandle. if the related methodhandle is not found in the inline cache, cache and return it. | |
| invalidateSwitchPoints | back to summary |
|---|---|
| protected static void invalidateSwitchPoints() Callback for constant meta class update change. | |
| selectMethod | back to summary |
|---|---|
| public static Object selectMethod(MutableCallSite callSite, Class<?> sender, String methodName, int callID, Boolean safeNavigation, Boolean thisCall, Boolean spreadCall, Object dummyReceiver, Object[] arguments) throws Throwable Core method for indy method selection using runtime types. | |
| staticArrayAccess | back to summary |
|---|---|
public static CallSite staticArrayAccess(MethodHandles.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final IndyInterface. | CAST
Cast invocation type |
| public static final IndyInterface. | GET
Get property invocation type |
| public static final IndyInterface. | INIT
Constructor invocation type |
| public static final IndyInterface. | METHOD
Method invocation type |
| private final String | name
Hides java. |
| public static final IndyInterface. | SET
Set property invocation type |
| Modifier and Type | Method and Description |
|---|---|
| public static IndyInterface. | |
| public String | |
| public static IndyInterface. | |
| public static IndyInterface. |
| CAST | back to summary |
|---|---|
| public static final IndyInterface. Cast invocation type | |
| GET | back to summary |
|---|---|
| public static final IndyInterface. Get property invocation type | |
| INIT | back to summary |
|---|---|
| public static final IndyInterface. Constructor invocation type | |
| METHOD | back to summary |
|---|---|
| public static final IndyInterface. Method invocation type | |
| name | back to summary |
|---|---|
| private final String name Hides java. The name of the call site type. | |
| SET | back to summary |
|---|---|
| public static final IndyInterface. Set property invocation type | |
| CallType | back to summary |
|---|---|
| private CallType(String name) | |
| fromCallSiteName | back to summary |
|---|---|
| public static IndyInterface. | |
| getCallSiteName | back to summary |
|---|---|
| public String getCallSiteName() Returns the name of the call site type. | |
| valueOf | back to summary |
|---|---|
| public static IndyInterface. | |
| values | back to summary |
|---|---|
| public static IndyInterface. | |