Class MethodArgument

  • All Implemented Interfaces:
    AnnotatedElement

    public final class MethodArgument
    extends Object
    implements AnnotatedElement
    Class to supply the missing Java AnnotatedElement for method arguments.
    Since:
    2.1
    • Constructor Detail

      • MethodArgument

        public MethodArgument​(int index,
                              Class<?> parameterType,
                              Annotation[] annotations)
        Creates a new method argument as AnnotatedElement.
        Parameters:
        index - the method argument index.
        parameterType - the method argument type.
        annotations - the method argument annotations.