Class MethodModelImpl
java.lang.Object
org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
org.glassfish.hk2.classmodel.reflect.impl.MethodModelImpl
- All Implemented Interfaces:
AnnotatedElement
,Member
,MethodModel
Implementation of a method model
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.glassfish.hk2.classmodel.reflect.Member
Member.Type
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final ExtensibleType
<?> (package private) final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
Returns the parameter types as stringReturns the class or interface model this method belongs to.returns the type of the memberReturns the method return typeReturns the method signature.Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
addAnnotation, getAnnotation, getAnnotations, getName, isApplicationClass, print, setApplicationClass, shortDesc, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement
getAnnotation, getAnnotations, getName, shortDesc
-
Field Details
-
parameters
-
owner
-
signature
-
-
Constructor Details
-
MethodModelImpl
-
-
Method Details
-
getMemberType
Description copied from interface:Member
returns the type of the member- Specified by:
getMemberType
in interfaceMember
- Returns:
- the member type as a value of @link{Member#Type}
-
getDeclaringType
Description copied from interface:MethodModel
Returns the class or interface model this method belongs to.- Specified by:
getDeclaringType
in interfaceMember
- Specified by:
getDeclaringType
in interfaceMethodModel
- Returns:
- the class of this method
-
getSignature
Description copied from interface:MethodModel
Returns the method signature.- Specified by:
getSignature
in interfaceMethodModel
- Returns:
- this method signature
-
getReturnType
Description copied from interface:MethodModel
Returns the method return type- Specified by:
getReturnType
in interfaceMethodModel
- Returns:
- the method's return type
-
getArgumentTypes
Description copied from interface:MethodModel
Returns the parameter types as string- Specified by:
getArgumentTypes
in interfaceMethodModel
- Returns:
- the parameter types
-