public interface JMethod extends JAbstractMethod
Modifier and Type | Method and Description |
---|---|
String |
getReadableDeclaration(boolean noAccess,
boolean noNative,
boolean noStatic,
boolean noFinal,
boolean noAbstract)
Returns a
String representing the source code declaration
of this method, containing access modifiers, type parameters,
return type, method name, parameter list, and throws. |
JType |
getReturnType() |
boolean |
isAbstract() |
boolean |
isFinal() |
boolean |
isNative() |
boolean |
isStatic() |
findParameter, getEnclosingType, getErasedParameterTypes, getJsniSignature, getName, getParameters, getParameterTypes, getReadableDeclaration, getThrows, isAnnotationMethod, isConstructor, isDefaultAccess, isMethod, isPrivate, isProtected, isPublic, isVarArgs
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
getMetaData, getMetaDataTags
getTypeParameters
String getReadableDeclaration(boolean noAccess, boolean noNative, boolean noStatic, boolean noFinal, boolean noAbstract)
String
representing the source code declaration
of this method, containing access modifiers, type parameters,
return type, method name, parameter list, and throws.
Doesn't include the method body or trailing semicolon.noAccess
- if true, print no access modifiersnoNative
- if true, don't print the native modifiernoStatic
- if true, don't print the static modifiernoFinal
- if true, don't print the final modifiernoAbstract
- if true, don't print the abstract modifierJType getReturnType()
boolean isAbstract()
boolean isFinal()
boolean isNative()
boolean isStatic()
Copyright © 2018. All rights reserved.