com.google.gwt.core.ext.typeinfo
Class JMethod

java.lang.Object
  extended bycom.google.gwt.core.ext.typeinfo.JAbstractMethod
      extended bycom.google.gwt.core.ext.typeinfo.JMethod
All Implemented Interfaces:
HasMetaData

public class JMethod
extends JAbstractMethod


Field Summary
 
Fields inherited from class java.lang.Object
typeId, typeName
 
Constructor Summary
JMethod(TypeOracle oracle, JClassType enclosingType, String name, int declStart, int declEnd, int bodyStart, int bodyEnd)
           
 
Method Summary
 JClassType getEnclosingType()
          Gets the type in which this method or constructor was declared.
 String getReadableDeclaration()
           
 String getReadableDeclaration(boolean noAccess, boolean noNative, boolean noStatic, boolean noFinal, boolean noAbstract)
           
 JType getReturnType()
           
 boolean isAbstract()
           
 JConstructor isConstructor()
           
 boolean isFinal()
           
 JMethod isMethod()
           
 boolean isNative()
           
 boolean isStatic()
           
 void setReturnType(JType type)
           
 String toString()
           
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, hashCode
 

Constructor Detail

JMethod

public JMethod(TypeOracle oracle,
               JClassType enclosingType,
               String name,
               int declStart,
               int declEnd,
               int bodyStart,
               int bodyEnd)
Method Detail

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.