Package org.codehaus.groovy.vmplugin.v8
Class Selector
java.lang.Object
org.codehaus.groovy.vmplugin.v8.Selector
public abstract class Selector
extends java.lang.Object
- 
Field Summary
Fields Modifier and Type Field Description java.lang.Object[]argsbooleancachejava.lang.invoke.MutableCallSitecallSiteIndyInterface.CallTypecallTypebooleancatchExceptionjava.lang.invoke.MethodTypecurrentTypejava.lang.invoke.MethodHandlehandlebooleanisVargsMetaMethodmethodjava.lang.Stringnamejava.lang.Object[]originalArgumentsbooleansafeNavigationbooleansafeNavigationOrigjava.lang.Class<?>selectionBasejava.lang.Class<?>senderbooleanskipSpreadCollectorbooleanspreadjava.lang.invoke.MethodTypetargetTypebooleanthisCallbooleanuseMetaClass - 
Constructor Summary
Constructors Constructor Description Selector() - 
Method Summary
Modifier and Type Method Description java.lang.ObjectgetCorrectedReceiver()ReturnsNullObject.getNullObject()if the receiver (args[0]) is null.static SelectorgetSelector(java.lang.invoke.MutableCallSite callSite, java.lang.Class<?> sender, java.lang.String methodName, int callID, boolean safeNavigation, boolean thisCall, boolean spreadCall, java.lang.Object[] arguments)Returns the SelectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Field Details
- 
args
public java.lang.Object[] args - 
originalArguments
public java.lang.Object[] originalArguments - 
method
 - 
targetType
public java.lang.invoke.MethodType targetType - 
currentType
public java.lang.invoke.MethodType currentType - 
name
public java.lang.String name - 
handle
public java.lang.invoke.MethodHandle handle - 
useMetaClass
public boolean useMetaClass - 
cache
public boolean cache - 
callSite
public java.lang.invoke.MutableCallSite callSite - 
sender
public java.lang.Class<?> sender - 
isVargs
public boolean isVargs - 
spread
public boolean spread - 
skipSpreadCollector
public boolean skipSpreadCollector - 
thisCall
public boolean thisCall - 
selectionBase
public java.lang.Class<?> selectionBase - 
catchException
public boolean catchException - 
callType
 
 - 
 - 
Constructor Details
- 
Selector
public Selector() 
 - 
 - 
Method Details
- 
getSelector
public static Selector getSelector(java.lang.invoke.MutableCallSite callSite, java.lang.Class<?> sender, java.lang.String methodName, int callID, boolean safeNavigation, boolean thisCall, boolean spreadCall, java.lang.Object[] arguments)Returns the Selector - 
getCorrectedReceiver
public java.lang.Object getCorrectedReceiver()ReturnsNullObject.getNullObject()if the receiver (args[0]) is null. If it is not null, the receiver itself is returned. 
 -