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.

  Author:
    Gavin King, Pete Muir

- - ### 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

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.