Interface MethodModel
-
- All Superinterfaces:
AnnotatedElement
,Member
- All Known Implementing Classes:
MethodModelImpl
public interface MethodModel extends Member, AnnotatedElement
Model to represent a method declaration
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.glassfish.hk2.classmodel.reflect.Member
Member.Type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
getArgumentTypes()
Returns the parameter types as stringExtensibleType<?>
getDeclaringType()
Returns the class or interface model this method belongs to.String
getReturnType()
Returns the method return typeString
getSignature()
Returns the method signature.-
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement
getAnnotation, getAnnotations, getName, shortDesc
-
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.Member
getMemberType
-
-
-
-
Method Detail
-
getDeclaringType
ExtensibleType<?> getDeclaringType()
Returns the class or interface model this method belongs to.- Specified by:
getDeclaringType
in interfaceMember
- Returns:
- the class of this method
-
getSignature
String getSignature()
Returns the method signature.- Returns:
- this method signature
-
getReturnType
String getReturnType()
Returns the method return type- Returns:
- the method's return type
-
getArgumentTypes
String[] getArgumentTypes()
Returns the parameter types as string- Returns:
- the parameter types
-
-