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

public Interface MethodModel

extends Member, AnnotatedElement
Known Direct Implementers
org.glassfish.hk2.classmodel.reflect.impl.MethodModelImpl
Imports
java.util.List

Model to represent a method declaration

Method Summary

Modifier and TypeMethod and Description
public String[]

Returns:

the parameter types
getArgumentTypes
()

Returns the parameter types as string

public ExtensibleType<?>

Returns:

the class of this method
getDeclaringType
()

Redeclares org.glassfish.hk2.classmodel.reflect.Member.getDeclaringType.

Returns the class or interface model this method belongs to.

public String[]
getExceptionTypes()

Returns: the checked exception types, or an empty array if the method doesn't declare any thrown exceptions

public Parameter

Returns:

the parameter by index
getParameter
(int index)

Return the parameter by index

public List<Parameter>

Returns:

the list of parameter
getParameters
()

Returns the list of parameter

public ParameterizedType

Returns:

the method's return type
getReturnType
()

Returns the method return type

public String

Returns:

this method signature
getSignature
()

Returns the method signature.

Inherited from org.glassfish.hk2.classmodel.reflect.AnnotatedElement:
getAnnotationgetAnnotationsgetNameshortDesc
Inherited from org.glassfish.hk2.classmodel.reflect.Member:
getMemberType

Method Detail

getArgumentTypesback to summary
public String[] getArgumentTypes()

Returns the parameter types as string

Returns:String[]

the parameter types

getDeclaringTypeback to summary
public ExtensibleType<?> getDeclaringType()

Redeclares org.glassfish.hk2.classmodel.reflect.Member.getDeclaringType.

Returns the class or interface model this method belongs to.

Returns:ExtensibleType<?>

the class of this method

getExceptionTypesback to summary
public String[] getExceptionTypes()
Returns:String[]

the checked exception types, or an empty array if the method doesn't declare any thrown exceptions

getParameterback to summary
public Parameter getParameter(int index)

Return the parameter by index

Returns:Parameter

the parameter by index

getParametersback to summary
public List<Parameter> getParameters()

Returns the list of parameter

Returns:List<Parameter>

the list of parameter

getReturnTypeback to summary
public ParameterizedType getReturnType()

Returns the method return type

Returns:ParameterizedType

the method's return type

getSignatureback to summary
public String getSignature()

Returns the method signature.

Returns:String

this method signature