Package com.google.gwt.core.ext.typeinfo
Interface JAbstractMethod
- All Superinterfaces:
HasAnnotations
,HasTypeParameters
- All Known Subinterfaces:
JAnnotationMethod
,JConstructor
,JMethod
Common interface for
JMethod
and JConstructor
.-
Method Summary
Methods inherited from interface com.google.gwt.core.ext.typeinfo.HasAnnotations
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
Methods inherited from interface com.google.gwt.core.ext.typeinfo.HasTypeParameters
getTypeParameters
-
Method Details
-
findParameter
-
getEnclosingType
JClassType getEnclosingType()Gets the type in which this method or constructor was declared. -
getErasedParameterTypes
JType[] getErasedParameterTypes() -
getJsniSignature
String getJsniSignature()Returns a string containing a JSNI reference to the method.- Returns:
@package.Class::method(Lpackage/Param;...)
-
getName
String getName() -
getParameters
JParameter[] getParameters() -
getParameterTypes
JType[] getParameterTypes() -
getReadableDeclaration
String getReadableDeclaration() -
getThrows
JClassType[] getThrows() -
isAnnotationMethod
JAnnotationMethod isAnnotationMethod() -
isConstructor
JConstructor isConstructor() -
isDefaultAccess
boolean isDefaultAccess() -
isMethod
JMethod isMethod() -
isPrivate
boolean isPrivate() -
isProtected
boolean isProtected() -
isPublic
boolean isPublic() -
isVarArgs
boolean isVarArgs()
-