Class Selector

java.lang.Object
org.codehaus.groovy.vmplugin.v8.Selector

public abstract class Selector
extends java.lang.Object
  • Field Details

    • args

      public java.lang.Object[] args
    • originalArguments

      public java.lang.Object[] originalArguments
    • method

      public MetaMethod method
    • targetType

      public java.lang.invoke.MethodType targetType
    • currentType

      public java.lang.invoke.MethodType currentType
    • name

      public java.lang.String name
    • handle

      public java.lang.invoke.MethodHandle handle
    • useMetaClass

      public boolean useMetaClass
    • cache

      public boolean cache
    • callSite

      public java.lang.invoke.MutableCallSite callSite
    • sender

      public java.lang.Class<?> sender
    • isVargs

      public boolean isVargs
    • safeNavigation

      public boolean safeNavigation
    • safeNavigationOrig

      public boolean safeNavigationOrig
    • spread

      public boolean spread
    • skipSpreadCollector

      public boolean skipSpreadCollector
    • thisCall

      public boolean thisCall
    • selectionBase

      public java.lang.Class<?> selectionBase
    • catchException

      public boolean catchException
    • callType

      public IndyInterface.CallType callType
  • Constructor Details

    • Selector

      public Selector()
  • Method Details

    • getSelector

      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)
      Returns the Selector
    • getCorrectedReceiver

      public java.lang.Object getCorrectedReceiver()
      Returns NullObject.getNullObject() if the receiver (args[0]) is null. If it is not null, the receiver itself is returned.