public interface JMethod extends JInvokable
Modifier and Type | Method and Description |
---|---|
String |
getQualifiedName()
Returns a qualied name for this method as specified by
java.lang.reflect.Method.toString() : |
JClass |
getReturnType()
Returns a JClass object representing the type of this methods
return value.
|
boolean |
isAbstract()
Return true if this member is final.
|
boolean |
isFinal()
Return true if this method is declared final.
|
boolean |
isNative()
Returns true if this method is declared native.
|
boolean |
isStatic()
Return true if this method is static.
|
boolean |
isSynchronized()
Returns true if this method is declared synchronized.
|
getExceptionTypes, getParameters
getContainingClass, getModifiers, isPackagePrivate, isPrivate, isProtected, isPublic
getAllJavadocTags, getAnnotation, getAnnotation, getAnnotationProxy, getAnnotations, getAnnotationValue, getComment
accept, getArtifact, getParent, getSimpleName, getSourcePosition, toString
JClass getReturnType()
boolean isFinal()
boolean isStatic()
boolean isAbstract()
boolean isNative()
boolean isSynchronized()
String getQualifiedName()
Returns a qualied name for this method as specified by
java.lang.reflect.Method.toString()
:
Returns a string describing this Method. The string is formatted as the method access modifiers, if any, followed by the method return type, followed by a space, followed by the class declaring the method, followed by a period, followed by the method name, followed by a parenthesized, comma-separated list of the method's formal parameter types. If the method throws checked exceptions, the parameter list is followed by a space, followed by the word throws followed by a comma-separated list of the thrown exception types. For example:
public boolean java.lang.Object.equals(java.lang.Object)
The access modifiers are placed in canonical order as specified by "The Java Language Specification". This is public, protected or private first, and then other modifiers in the following order: abstract, static, final, synchronized native.
getQualifiedName
in interface JElement
Copyright © 2010 - 2020 Adobe. All Rights Reserved