AnnotatedParameter
Date: 2015-09-11

javax.enterprise.inject.spi

## Interface AnnotatedParameter<X>

- Type Parameters:
    `X` - the type that declares the method or constructor
  All Superinterfaces:
    Annotated

      public interface AnnotatedParameter<X>
      extends Annotated

  Represents a parameter of a method or constructor.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `AnnotatedCallable<X>` | `getDeclaringCallable()` Get the declaring method or constructor.
    `int` | `getPosition()` Get the position of the parameter in the method or constructor argument list.

    - ### Methods inherited from interface javax.enterprise.inject.spi.Annotated

      `getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent`

- - ### Method Detail

    - #### getPosition

          int getPosition()

      Get the position of the parameter in the method or constructor argument list.

      Returns:
        the position of the parameter

    - #### getDeclaringCallable

          AnnotatedCallable<X> getDeclaringCallable()

      Get the declaring method or constructor.

      Returns:
        the declaring callable