com.google.gwt.core.ext.typeinfo
Class JMethod
java.lang.Object
com.google.gwt.core.ext.typeinfo.JAbstractMethod
com.google.gwt.core.ext.typeinfo.JMethod
- All Implemented Interfaces:
- HasMetaData
- public class JMethod
- extends JAbstractMethod
| Methods inherited from class com.google.gwt.core.ext.typeinfo.JAbstractMethod |
addMetaData, addModifierBits, addThrows, findParameter, getBodyEnd, getBodyStart, getDeclEnd, getDeclStart, getMetaData, getMetaDataTags, getModifierBits, getName, getParameters, getThrows, isDefaultAccess, isPrivate, isProtected, isPublic, toStringParamsAndThrows |
JMethod
public JMethod(TypeOracle oracle,
JClassType enclosingType,
String name,
int declStart,
int declEnd,
int bodyStart,
int bodyEnd)
getEnclosingType
public JClassType getEnclosingType()
- Description copied from class:
JAbstractMethod
- Gets the type in which this method or constructor was declared.
- Specified by:
getEnclosingType in class JAbstractMethod
getReadableDeclaration
public String getReadableDeclaration()
- Specified by:
getReadableDeclaration in class JAbstractMethod
getReadableDeclaration
public String getReadableDeclaration(boolean noAccess,
boolean noNative,
boolean noStatic,
boolean noFinal,
boolean noAbstract)
getReturnType
public JType getReturnType()
isAbstract
public boolean isAbstract()
isConstructor
public JConstructor isConstructor()
- Specified by:
isConstructor in class JAbstractMethod
isFinal
public boolean isFinal()
isMethod
public JMethod isMethod()
- Specified by:
isMethod in class JAbstractMethod
isNative
public boolean isNative()
isStatic
public boolean isStatic()
toString
public String toString()
setReturnType
public void setReturnType(JType type)
This javadoc distribution was not produced by Google. The official documentation is here.