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