public abstract class Selector
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Object[] |
args |
boolean |
cache |
java.lang.invoke.MutableCallSite |
callSite |
IndyInterface.CALL_TYPES |
callType |
boolean |
catchException |
java.lang.invoke.MethodType |
currentType |
java.lang.invoke.MethodHandle |
handle |
boolean |
isVargs |
MetaMethod |
method |
java.lang.String |
name |
java.lang.Object[] |
originalArguments |
boolean |
safeNavigation |
boolean |
safeNavigationOrig |
java.lang.Class |
selectionBase |
java.lang.Class |
sender |
boolean |
skipSpreadCollector |
boolean |
spread |
java.lang.invoke.MethodType |
targetType |
boolean |
thisCall |
boolean |
useMetaClass |
Constructor and Description |
---|
Selector() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getCorrectedReceiver()
Returns
NullObject.getNullObject() if the receiver
(args[0]) is null. |
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
|
public java.lang.Object[] args
public java.lang.Object[] originalArguments
public MetaMethod method
public java.lang.invoke.MethodType targetType
public java.lang.invoke.MethodType currentType
public java.lang.String name
public java.lang.invoke.MethodHandle handle
public boolean useMetaClass
public boolean cache
public java.lang.invoke.MutableCallSite callSite
public java.lang.Class sender
public boolean isVargs
public boolean safeNavigation
public boolean safeNavigationOrig
public boolean spread
public boolean skipSpreadCollector
public boolean thisCall
public java.lang.Class selectionBase
public boolean catchException
public IndyInterface.CALL_TYPES callType
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)
public java.lang.Object getCorrectedReceiver()
NullObject.getNullObject()
if the receiver
(args[0]) is null. If it is not null, the recevier itself
is returned.