Example usage for Java com.google.gwt.core.ext.typeinfo JMethod fields, constructors, methods, implement or subclass
The text is from its open source code.
T | getAnnotation(Class Returns an instance of the specified annotation type if it is present on this element or null if it is not. |
Annotation[] | getAnnotations() Returns all the annotations present on this element. |
JClassType | getEnclosingType() Gets the type in which this method or constructor was declared. |
JType[] | getErasedParameterTypes() |
String | getJsniSignature() Returns a string contating a JSNI reference to the method. |
String | getName() |
JParameter[] | getParameters() |
JType[] | getParameterTypes() |
String | getReadableDeclaration(boolean noAccess, boolean noNative, boolean noStatic, boolean noFinal, boolean noAbstract) |
String | getReadableDeclaration() |
JType | getReturnType() |
JClassType[] | getThrows() |
JTypeParameter[] | getTypeParameters() Returns the type parameters on this element. |
boolean | isAbstract() |
boolean | isAnnotationPresent(Class extends Annotation> annotationClass) Returns true if this item has an annotation of the specified type. |
JConstructor | isConstructor() |
boolean | isDefaultAccess() |
boolean | isPrivate() |
boolean | isProtected() |
boolean | isPublic() |
boolean | isStatic() |
boolean | isVarArgs() |