Class Invokable.MethodInvokable<T>

  • All Implemented Interfaces:
    java.lang.reflect.AnnotatedElement, java.lang.reflect.GenericDeclaration, java.lang.reflect.Member
    Enclosing class:
    Invokable<T,​R>

    static class Invokable.MethodInvokable<T>
    extends Invokable<T,​java.lang.Object>
    • Field Detail

      • method

        final java.lang.reflect.Method method
    • Constructor Detail

      • MethodInvokable

        MethodInvokable​(java.lang.reflect.Method method)
    • Method Detail

      • invokeInternal

        final java.lang.Object invokeInternal​(java.lang.Object receiver,
                                              java.lang.Object[] args)
                                       throws java.lang.reflect.InvocationTargetException,
                                              java.lang.IllegalAccessException
        Specified by:
        invokeInternal in class Invokable<T,​java.lang.Object>
        Throws:
        java.lang.reflect.InvocationTargetException
        java.lang.IllegalAccessException
      • getGenericExceptionTypes

        java.lang.reflect.Type[] getGenericExceptionTypes()
        Description copied from class: Invokable
        This should never return a type that's not a subtype of Throwable.
        Specified by:
        getGenericExceptionTypes in class Invokable<T,​java.lang.Object>
      • getParameterAnnotations

        final java.lang.annotation.Annotation[][] getParameterAnnotations()
        Specified by:
        getParameterAnnotations in class Invokable<T,​java.lang.Object>
      • getTypeParameters

        public final java.lang.reflect.TypeVariable<?>[] getTypeParameters()
      • isOverridable

        public final boolean isOverridable()
        Description copied from class: Invokable
        Returns true if this is an overridable method. Constructors, private, static or final methods, or methods declared by final classes are not overridable.
        Specified by:
        isOverridable in class Invokable<T,​java.lang.Object>
      • isVarArgs

        public final boolean isVarArgs()
        Description copied from class: Invokable
        Returns true if this was declared to take a variable number of arguments.
        Specified by:
        isVarArgs in class Invokable<T,​java.lang.Object>