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 SummaryFields 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 SummaryConstructors Constructor Description Selector()
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Field Details- 
argspublic java.lang.Object[] args
- 
originalArgumentspublic java.lang.Object[] originalArguments
- 
method
- 
targetTypepublic java.lang.invoke.MethodType targetType
- 
currentTypepublic java.lang.invoke.MethodType currentType
- 
namepublic java.lang.String name
- 
handlepublic java.lang.invoke.MethodHandle handle
- 
useMetaClasspublic boolean useMetaClass
- 
cachepublic boolean cache
- 
callSitepublic java.lang.invoke.MutableCallSite callSite
- 
senderpublic java.lang.Class<?> sender
- 
isVargspublic boolean isVargs
- 
spreadpublic boolean spread
- 
skipSpreadCollectorpublic boolean skipSpreadCollector
- 
thisCallpublic boolean thisCall
- 
selectionBasepublic java.lang.Class<?> selectionBase
- 
catchExceptionpublic boolean catchException
- 
callType
 
- 
- 
Constructor Details- 
Selectorpublic Selector()
 
- 
- 
Method Details- 
getSelectorpublic 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
- 
getCorrectedReceiverpublic java.lang.Object getCorrectedReceiver()ReturnsNullObject.getNullObject()if the receiver (args[0]) is null. If it is not null, the receiver itself is returned.
 
-