Class ParameterDescription.ForLoadedParameter.OfMethod

    • Constructor Detail

      • OfMethod

        protected OfMethod​(java.lang.reflect.Method method,
                           int index)
        Creates a new description for a loaded method.
        Parameters:
        method - The method for which a parameter is represented.
        index - The index of the parameter.
    • Method Detail

      • getDeclaredAnnotations

        public AnnotationList getDeclaredAnnotations()
        Description copied from interface: AnnotationSource
        Returns a list of annotations that are declared by this instance.
        Returns:
        A list of declared annotations.