Interface ExecutableMethod<T,R>

Type Parameters:
T - The declaring type
R - The result of the method call
All Superinterfaces:
AnnotatedElement, AnnotationMetadata, AnnotationMetadataDelegate, AnnotationMetadataProvider, AnnotationSource, Described, Executable<T,R>, MethodReference<T,R>, Named
All Known Subinterfaces:
BeanDefinitionMethodReference<T,R>, DelegatingExecutableMethod<T,R>, MethodInvocationContext<T,R>
All Known Implementing Classes:
AbstractExecutableBeanMethod, AbstractExecutableMethod, MethodInterceptorChain

public interface ExecutableMethod<T,R> extends Executable<T,R>, MethodReference<T,R>, Described

An executable method is a compile time produced invocation of a method call. Avoiding the use of reflection and allowing the JIT to optimize the call

Since:
1.0
Author:
Graeme Rocher
  • Method Details

    • isAbstract

      default boolean isAbstract()
      Defines whether the method is abstract.
      Returns:
      Is the method abstract.
      Since:
      1.2.3
    • isSuspend

      default boolean isSuspend()
      Defines whether the method is Kotlin suspend function.
      Returns:
      Is the method Kotlin suspend function.
      Since:
      1.3.0
    • getDescription

      default String getDescription(boolean simple)
      Get the method description.
      Specified by:
      getDescription in interface Described
      Parameters:
      simple - If simple type names are to be used
      Returns:
      The method description
    • getDescription

      default String getDescription()
      Description copied from interface: Described
      A description that describes this object.
      Specified by:
      getDescription in interface Described
      Returns:
      The description