[Java] Class Selector
- org.codehaus.groovy.vmplugin.v7.Selector
Field Summary
Modifiers | Name | Description |
---|---|---|
Object[] | args | |
boolean | cache | |
MutableCallSite | callSite | |
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 |
Methods Summary
Type Params | Return Type | Name 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 |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
public Object[] args
public boolean cache
public MutableCallSite callSite
public CALL_TYPES callType
public boolean catchException
public MethodType currentType
public MethodHandle handle
public boolean isVargs
public MetaMethod method
public String name
public Object[] originalArguments
public boolean safeNavigation
public boolean safeNavigationOrig
public Class selectionBase
public Class sender
public boolean skipSpreadCollector
public boolean spread
public MethodType targetType
public boolean thisCall
public boolean useMetaClass
Method Detail
public Object getCorrectedReceiver()
Returns NullObject.getNullObject if the receiver (args[0]) is null. If it is not null, the recevier itself is returned.
public static Selector getSelector(MutableCallSite callSite, Class sender, String methodName, int callID, boolean safeNavigation, boolean thisCall, boolean spreadCall, Object[] arguments)
Returns the Selector
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/vmplugin/v7/Selector.html