Class AbstractExecutableMethod

java.lang.Object
io.micronaut.context.AbstractExecutableMethod
All Implemented Interfaces:
EnvironmentConfigurable, AnnotatedElement, AnnotationMetadata, AnnotationMetadataDelegate, AnnotationMetadataProvider, AnnotationSource, Described, Named, Executable, UnsafeExecutable, ExecutableMethod, MethodReference

@Internal public abstract class AbstractExecutableMethod extends Object implements UnsafeExecutable, ExecutableMethod, EnvironmentConfigurable

Abstract base class for generated ExecutableMethod classes to implement. The generated classes should implement the Executable.invoke(Object, Object...) method at compile time providing direct dispatch of the target method

Since:
1.0
Author:
Graeme Rocher
  • Field Details

    • declaringType

      protected final Class<?> declaringType
    • methodName

      protected final String methodName
    • argTypes

      protected final Class<?>[] argTypes
  • Constructor Details

    • AbstractExecutableMethod

      protected AbstractExecutableMethod(Class<?> declaringType, String methodName, Argument genericReturnType, Argument... arguments)
      Parameters:
      declaringType - The declaring type
      methodName - The method name
      genericReturnType - The generic return type
      arguments - The arguments
    • AbstractExecutableMethod

      protected AbstractExecutableMethod(Class<?> declaringType, String methodName, Argument genericReturnType)
      Parameters:
      declaringType - The declaring type
      methodName - The method name
      genericReturnType - The generic return type
    • AbstractExecutableMethod

      protected AbstractExecutableMethod(Class<?> declaringType, String methodName)
      Parameters:
      declaringType - The declaring type
      methodName - The method name
  • Method Details