|
GWT 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.ext.typeinfo.JAbstractMethod
public abstract class JAbstractMethod
Common superclass for JMethod and JConstructor.
| Method Summary | ||
|---|---|---|
JParameter |
findParameter(java.lang.String name)
|
|
|
getAnnotation(java.lang.Class<T> annotationClass)
Returns an instance of the specified annotation type if it is present on this element or null if it is not. |
|
abstract JClassType |
getEnclosingType()
Gets the type in which this method or constructor was declared. |
|
abstract java.lang.String |
getJsniSignature()
Returns a string contating a JSNI reference to the method. |
|
java.lang.String[][] |
getMetaData(java.lang.String tagName)
Deprecated. |
|
java.lang.String[] |
getMetaDataTags()
Deprecated. |
|
protected int |
getModifierBits()
|
|
java.lang.String |
getName()
|
|
JParameter[] |
getParameters()
|
|
abstract java.lang.String |
getReadableDeclaration()
|
|
JType[] |
getThrows()
|
|
JTypeParameter[] |
getTypeParameters()
Returns the type parameters on this element. |
|
JAnnotationMethod |
isAnnotationMethod()
|
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
Returns true if this item has an annotation of the specified
type. |
|
abstract JConstructor |
isConstructor()
|
|
boolean |
isDefaultAccess()
|
|
abstract JMethod |
isMethod()
|
|
boolean |
isPrivate()
|
|
boolean |
isProtected()
|
|
boolean |
isPublic()
|
|
boolean |
isVarArgs()
|
|
protected void |
toStringParamsAndThrows(java.lang.StringBuilder sb)
|
|
protected void |
toStringTypeParams(java.lang.StringBuilder sb)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public JParameter findParameter(java.lang.String name)
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
HasAnnotationsnull if it is not.
getAnnotation in interface HasAnnotationsannotationClass - annotation type to search for
null if it is notpublic abstract JClassType getEnclosingType()
public abstract java.lang.String getJsniSignature()
@package.Class::method(Lpackage/Param;...)@Deprecated public final java.lang.String[][] getMetaData(java.lang.String tagName)
HasMetaData
getMetaData in interface HasMetaData@Deprecated public final java.lang.String[] getMetaDataTags()
HasMetaData
getMetaDataTags in interface HasMetaDatapublic java.lang.String getName()
public JParameter[] getParameters()
public abstract java.lang.String getReadableDeclaration()
public JType[] getThrows()
public JTypeParameter[] getTypeParameters()
HasTypeParameters
getTypeParameters in interface HasTypeParameterspublic JAnnotationMethod isAnnotationMethod()
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
HasAnnotationstrue if this item has an annotation of the specified
type.
isAnnotationPresent in interface HasAnnotationstrue if this item has an annotation of the specified
typepublic abstract JConstructor isConstructor()
public boolean isDefaultAccess()
public abstract JMethod isMethod()
public boolean isPrivate()
public boolean isProtected()
public boolean isPublic()
public boolean isVarArgs()
protected int getModifierBits()
protected void toStringParamsAndThrows(java.lang.StringBuilder sb)
protected void toStringTypeParams(java.lang.StringBuilder sb)
|
GWT 2.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||