com.google.gwt.core.ext.typeinfo
Interface HasMetaData

All Known Implementing Classes:
JAbstractMethod, JClassType, JField, JParameter

public interface HasMetaData

Manages doc comment metadata for an AST item. The structure of the metadata attempts to mirror the way in which tags and values were originally declared.

For example, for the following declaration

 /**
  * @myTag value1 value2
  * @myTag value3 value4
  * ... 
 
a call to getMetaData("myTag") would return this array of string arrays
[0][0] = value1
[0][1] = value2
[1][0] = value3
[1][1] = value4
 


Method Summary
 void addMetaData(String tagName, String[] values)
          Adds additional metadata.
 String[][] getMetaData(String tagName)
          Gets each list of metadata for the specified tag name.
 String[] getMetaDataTags()
          Gets the name of available metadata tags.
 

Method Detail

getMetaData

public String[][] getMetaData(String tagName)
Gets each list of metadata for the specified tag name.


getMetaDataTags

public String[] getMetaDataTags()
Gets the name of available metadata tags.


addMetaData

public void addMetaData(String tagName,
                        String[] values)
Adds additional metadata.



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