public interface JAbstractMethod extends HasAnnotations, HasMetaData, HasTypeParameters
JMethod
and JConstructor
.Modifier and Type | Method and Description |
---|---|
JParameter |
findParameter(String name) |
JClassType |
getEnclosingType()
Gets the type in which this method or constructor was declared.
|
JType[] |
getErasedParameterTypes() |
String |
getJsniSignature()
Returns a string containing a JSNI reference to the method.
|
String |
getName() |
JParameter[] |
getParameters() |
JType[] |
getParameterTypes() |
String |
getReadableDeclaration() |
JClassType[] |
getThrows() |
JAnnotationMethod |
isAnnotationMethod() |
JConstructor |
isConstructor() |
boolean |
isDefaultAccess() |
JMethod |
isMethod() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isVarArgs() |
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
getMetaData, getMetaDataTags
getTypeParameters
JParameter findParameter(String name)
JClassType getEnclosingType()
JType[] getErasedParameterTypes()
String getJsniSignature()
@package.Class::method(Lpackage/Param;...)
String getName()
JParameter[] getParameters()
JType[] getParameterTypes()
String getReadableDeclaration()
JClassType[] getThrows()
JAnnotationMethod isAnnotationMethod()
JConstructor isConstructor()
boolean isDefaultAccess()
JMethod isMethod()
boolean isPrivate()
boolean isProtected()
boolean isPublic()
boolean isVarArgs()
Copyright © 2018. All rights reserved.