Class Selector

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

      • args

        public java.lang.Object[] args
      • originalArguments

        public java.lang.Object[] originalArguments
      • 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
    • Constructor Detail

      • Selector

        public Selector()
    • Method Detail

      • 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 recevier itself is returned.