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

java.lang.Object
  extended bycom.google.gwt.core.ext.typeinfo.JAbstractMethod
All Implemented Interfaces:
HasMetaData
Direct Known Subclasses:
JConstructor, JMethod

public abstract class JAbstractMethod
extends Object
implements HasMetaData

Common superclass for JMethod and JConstructor.


Field Summary
 
Fields inherited from class java.lang.Object
typeId, typeName
 
Method Summary
 void addMetaData(String tagName, String[] values)
          Adds additional metadata.
 void addModifierBits(int bits)
           
 void addThrows(JType type)
           
 JParameter findParameter(String name)
           
 int getBodyEnd()
           
 int getBodyStart()
           
 int getDeclEnd()
           
 int getDeclStart()
           
abstract  JClassType getEnclosingType()
          Gets the type in which this method or constructor was declared.
 String[][] getMetaData(String tagName)
          Gets each list of metadata for the specified tag name.
 String[] getMetaDataTags()
          Gets the name of available metadata tags.
protected  int getModifierBits()
           
 String getName()
           
 JParameter[] getParameters()
           
abstract  String getReadableDeclaration()
           
 JType[] getThrows()
           
abstract  JConstructor isConstructor()
           
 boolean isDefaultAccess()
           
abstract  JMethod isMethod()
           
 boolean isPrivate()
           
 boolean isProtected()
           
 boolean isPublic()
           
protected  void toStringParamsAndThrows(StringBuffer sb)
           
 
Methods inherited from class java.lang.Object
equals, finalize, hashCode, toString
 

Method Detail

addMetaData

public void addMetaData(String tagName,
                        String[] values)
Description copied from interface: HasMetaData
Adds additional metadata.

Specified by:
addMetaData in interface HasMetaData

findParameter

public JParameter findParameter(String name)

getBodyEnd

public int getBodyEnd()

getBodyStart

public int getBodyStart()

getDeclEnd

public int getDeclEnd()

getDeclStart

public int getDeclStart()

getEnclosingType

public abstract JClassType getEnclosingType()
Gets the type in which this method or constructor was declared.


getMetaData

public String[][] getMetaData(String tagName)
Description copied from interface: HasMetaData
Gets each list of metadata for the specified tag name.

Specified by:
getMetaData in interface HasMetaData

getMetaDataTags

public String[] getMetaDataTags()
Description copied from interface: HasMetaData
Gets the name of available metadata tags.

Specified by:
getMetaDataTags in interface HasMetaData

getName

public String getName()

getParameters

public JParameter[] getParameters()

getReadableDeclaration

public abstract String getReadableDeclaration()

getThrows

public JType[] getThrows()

isConstructor

public abstract JConstructor isConstructor()

isDefaultAccess

public boolean isDefaultAccess()

isMethod

public abstract JMethod isMethod()

isPrivate

public boolean isPrivate()

isProtected

public boolean isProtected()

isPublic

public boolean isPublic()

getModifierBits

protected int getModifierBits()

toStringParamsAndThrows

protected void toStringParamsAndThrows(StringBuffer sb)

addModifierBits

public void addModifierBits(int bits)

addThrows

public void addThrows(JType type)


This javadoc distribution was not produced by Google. The official documentation is here.