Class MethodParameter


  • public class MethodParameter
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MethodParameter​(java.lang.reflect.Parameter rawParameter, TypeResolution resolution, int index)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.annotation.Annotation> findAllAnnotations()  
      <T extends java.lang.annotation.Annotation>
      java.util.Optional<T>
      findAnnotation​(java.lang.Class<T> annotationClass)  
      java.lang.reflect.AnnotatedType getAnnotatedType()  
      <T extends java.lang.annotation.Annotation>
      T
      getAnnotation​(java.lang.Class<T> annotationClass)  
      int getIndex()  
      java.lang.reflect.Parameter getRawParameter()  
      java.lang.reflect.Type getType()  
      boolean isAnnotated​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)  
      boolean isParameterized()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MethodParameter

        public MethodParameter​(java.lang.reflect.Parameter rawParameter,
                               TypeResolution resolution,
                               int index)
    • Method Detail

      • getRawParameter

        public java.lang.reflect.Parameter getRawParameter()
      • isParameterized

        public boolean isParameterized()
      • isAnnotated

        public boolean isAnnotated​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
      • getAnnotation

        public <T extends java.lang.annotation.Annotation> T getAnnotation​(java.lang.Class<T> annotationClass)
      • findAnnotation

        public <T extends java.lang.annotation.Annotation> java.util.Optional<T> findAnnotation​(java.lang.Class<T> annotationClass)
      • getType

        public java.lang.reflect.Type getType()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • findAllAnnotations

        public java.util.List<java.lang.annotation.Annotation> findAllAnnotations()
      • getAnnotatedType

        public java.lang.reflect.AnnotatedType getAnnotatedType()
      • getIndex

        public int getIndex()