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

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

public class JField
extends Object
implements HasMetaData


Field Summary
 
Fields inherited from class java.lang.Object
typeId, typeName
 
Constructor Summary
JField(TypeOracle tio, JClassType enclosingType, String name)
           
 
Method Summary
 void addMetaData(String tagName, String[] values)
          Adds additional metadata.
 void addModifierBits(int modifierBits)
           
 JClassType getEnclosingType()
           
 String[][] getMetaData(String tagName)
          Gets each list of metadata for the specified tag name.
 String[] getMetaDataTags()
          Gets the name of available metadata tags.
 String getName()
           
 JType getType()
           
 boolean isDefaultAccess()
           
 boolean isFinal()
           
 boolean isPrivate()
           
 boolean isProtected()
           
 boolean isPublic()
           
 boolean isStatic()
           
 boolean isTransient()
           
 boolean isVolatile()
           
 void setType(JType type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, hashCode
 

Constructor Detail

JField

public JField(TypeOracle tio,
              JClassType enclosingType,
              String name)
Method Detail

addMetaData

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

Specified by:
addMetaData in interface HasMetaData

getEnclosingType

public JClassType getEnclosingType()

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()

getType

public JType getType()

isDefaultAccess

public boolean isDefaultAccess()

isFinal

public boolean isFinal()

isPrivate

public boolean isPrivate()

isProtected

public boolean isProtected()

isPublic

public boolean isPublic()

isStatic

public boolean isStatic()

isTransient

public boolean isTransient()

isVolatile

public boolean isVolatile()

addModifierBits

public void addModifierBits(int modifierBits)

setType

public void setType(JType type)

toString

public String toString()


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