Top Description Methods
org.glassfish.hk2.classmodel.reflect

public Interface Parameter

extends AnnotatedElement, ParameterizedType
Known Direct Implementers
org.glassfish.hk2.classmodel.reflect.impl.ParameterImpl

Denote a parameter to a method
Author
Jerome Dochez

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

parameter index
getIndex
()

Returns the parameter index

public MethodModel

Returns:

the method declaring this parameter
getMethod
()

Parameters of a method are ordered based on the method declaration.

Inherited from org.glassfish.hk2.classmodel.reflect.AnnotatedElement:
getAnnotationgetAnnotationsgetNameshortDesc
Inherited from org.glassfish.hk2.classmodel.reflect.ParameterizedType:
getFormalTypegetParameterizedTypesgetTypegetTypeNameisArrayisFormalType

Method Detail

getIndexback to summary
public int getIndex()

Returns the parameter index

Returns:int

parameter index

getMethodback to summary
public MethodModel getMethod()

Parameters of a method are ordered based on the method declaration.

Returns:MethodModel

the method declaring this parameter