|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
org.glassfish.hk2.classmodel.reflect.impl.MethodModelImpl
public class MethodModelImpl
Implementation of a method model
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.glassfish.hk2.classmodel.reflect.Member |
|---|
Member.Type |
| Field Summary |
|---|
| Fields inherited from class org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl |
|---|
annotations, name |
| Constructor Summary | |
|---|---|
MethodModelImpl(java.lang.String name,
ExtensibleType owner,
java.lang.String signature)
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getArgumentTypes()
Returns the parameter types as string |
ExtensibleType<?> |
getDeclaringType()
Returns the class or interface model this method belongs to. |
Member.Type |
getMemberType()
returns the type of the member |
java.lang.String |
getName()
Annotated element have a name, which vary depending on the actual subclass type. |
java.lang.String |
getReturnType()
Returns the method return type |
java.lang.String |
getSignature()
Returns the method signature. |
| Methods inherited from class org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl |
|---|
getAnnotation, getAnnotations, print, 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, shortDesc |
| Constructor Detail |
|---|
public MethodModelImpl(java.lang.String name,
ExtensibleType owner,
java.lang.String signature)
| Method Detail |
|---|
public Member.Type getMemberType()
Member
getMemberType in interface Memberpublic ExtensibleType<?> getDeclaringType()
MethodModel
getDeclaringType in interface MembergetDeclaringType in interface MethodModelpublic java.lang.String getName()
AnnotatedElementClass.getName()
getName in interface AnnotatedElementgetName in class AnnotatedElementImplpublic java.lang.String getSignature()
MethodModel
getSignature in interface MethodModelpublic java.lang.String getReturnType()
MethodModel
getReturnType in interface MethodModelpublic java.lang.String[] getArgumentTypes()
MethodModel
getArgumentTypes in interface MethodModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||