Module org.glassfish.hk2.classmodel
Interface Parameter
- All Superinterfaces:
AnnotatedElement,ParameterizedType
- All Known Implementing Classes:
ParameterImpl
Denote a parameter to a method
- Author:
- Jerome Dochez
-
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()Returns the parameter indexParameters of a method are ordered based on the method declaration.Methods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement
getAnnotation, getAnnotations, getName, shortDescMethods inherited from interface org.glassfish.hk2.classmodel.reflect.ParameterizedType
getFormalType, getParameterizedTypes, getType, getTypeName, isArray, isFormalType
-
Method Details
-
getMethod
MethodModel getMethod()Parameters of a method are ordered based on the method declaration.- Returns:
- the method declaring this parameter
-
getIndex
int getIndex()Returns the parameter index- Returns:
- parameter index
-