Class AnnotatedMethod

java.lang.Object
org.springframework.core.annotation.AnnotatedMethod
Direct Known Subclasses:
HandlerMethod, HandlerMethod

public class AnnotatedMethod extends Object
A convenient wrapper for a Method handle, providing deep annotation introspection on methods and method parameters, including the exposure of interface-declared parameter annotations from the concrete target method.
Since:
6.1
Author:
Juergen Hoeller, Sam Brannen
See Also:
  • Constructor Details

    • AnnotatedMethod

      public AnnotatedMethod(Method method)
      Create an instance that wraps the given Method.
      Parameters:
      method - the Method handle to wrap
    • AnnotatedMethod

      protected AnnotatedMethod(AnnotatedMethod annotatedMethod)
      Copy constructor for use in subclasses.
  • Method Details