public abstract class Selector extends Object
Modifiers | Name | Description |
---|---|---|
Object[] |
args |
|
MutableCallSite |
callSite |
|
CallType |
callType |
|
boolean |
catchException |
|
MethodHandle |
handle |
|
boolean |
isVargs |
|
MetaMethod |
method |
|
String |
name |
|
boolean |
safeNavigation |
|
Class<?> |
selectionBase |
|
Class<?> |
sender |
|
boolean |
skipSpreadCollector |
|
MethodType |
targetType |
|
boolean |
thisCall |
|
boolean |
useMetaClass |
Type Params | Return Type | Name and description |
---|---|---|
|
public Object |
getCorrectedReceiver() Returns NullObject.getNullObject if the receiver (args[0]) is null. |
|
public static Selector |
getSelector(MutableCallSite callSite, Class<?> sender, String methodName, int callID, boolean safeNavigation, boolean thisCall, boolean spreadCall, Object[] arguments) Returns the Selector |
Returns NullObject.getNullObject if the receiver (args[0]) is null. If it is not null, the recevier itself is returned.
Returns the Selector