Package javax.enterprise.inject.spi
Interface AnnotatedParameter<X>
- Type Parameters:
X
- the type that declares the method or constructor
- All Superinterfaces:
Annotated
Represents a parameter of a method or constructor.
-
Method Summary
Modifier and TypeMethodDescriptionGet the declaring method or constructor.int
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 Details
-
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
-