public class MethodModelImpl extends AnnotatedElementImpl implements MethodModel
Member.Type
Constructor and Description |
---|
MethodModelImpl(String name,
ExtensibleType owner,
String signature) |
Modifier and Type | Method and Description |
---|---|
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
|
String |
getReturnType()
Returns the method return type
|
String |
getSignature()
Returns the method signature.
|
getAnnotation, getAnnotations, getName, isApplicationClass, print, setApplicationClass, shortDesc, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotation, getAnnotations, getName, shortDesc
public MethodModelImpl(String name, ExtensibleType owner, String signature)
public Member.Type getMemberType()
Member
getMemberType
in interface Member
public ExtensibleType<?> getDeclaringType()
MethodModel
getDeclaringType
in interface Member
getDeclaringType
in interface MethodModel
public String getSignature()
MethodModel
getSignature
in interface MethodModel
public String getReturnType()
MethodModel
getReturnType
in interface MethodModel
public String[] getArgumentTypes()
MethodModel
getArgumentTypes
in interface MethodModel
Copyright © 2009–2023 Oracle Corporation. All rights reserved.