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


Submit a bug or feature

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

Generated on 10-February-2011 12:41