Package org.codehaus.groovy.vmplugin.v8
Class Selector
java.lang.Object
org.codehaus.groovy.vmplugin.v8.Selector
public abstract class Selector extends Object
-
Field Summary
Fields Modifier and Type Field Description Object[]argsbooleancacheMutableCallSitecallSiteIndyInterface.CallTypecallTypebooleancatchExceptionMethodTypecurrentTypeMethodHandlehandlebooleanisVargsMetaMethodmethodStringnameObject[]originalArgumentsbooleansafeNavigationbooleansafeNavigationOrigClass<?>selectionBaseClass<?>senderbooleanskipSpreadCollectorbooleanspreadMethodTypetargetTypebooleanthisCallbooleanuseMetaClass -
Constructor Summary
Constructors Constructor Description Selector() -
Method Summary
Modifier and Type Method Description ObjectgetCorrectedReceiver()ReturnsNullObject.getNullObject()if the receiver (args[0]) is null.static SelectorgetSelector(MutableCallSite callSite, Class<?> sender, String methodName, int callID, boolean safeNavigation, boolean thisCall, boolean spreadCall, Object[] arguments)Returns the Selector
-
Field Details
-
args
-
originalArguments
-
method
-
targetType
-
currentType
-
name
-
handle
-
useMetaClass
public boolean useMetaClass -
cache
public boolean cache -
callSite
-
sender
-
isVargs
public boolean isVargs -
spread
public boolean spread -
skipSpreadCollector
public boolean skipSpreadCollector -
thisCall
public boolean thisCall -
selectionBase
-
catchException
public boolean catchException -
callType
-
-
Constructor Details
-
Selector
public Selector()
-
-
Method Details
-
getSelector
public static Selector getSelector(MutableCallSite callSite, Class<?> sender, String methodName, int callID, boolean safeNavigation, boolean thisCall, boolean spreadCall, Object[] arguments)Returns the Selector -
getCorrectedReceiver
ReturnsNullObject.getNullObject()if the receiver (args[0]) is null. If it is not null, the recevier itself is returned.
-