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


Copyright © 2008-2010 Seam Framework. All Rights Reserved.