|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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(java.lang.String tagName,
java.lang.String[] values)
Deprecated. Javadoc comment metadata has been deprecated in favor of proper Java annotations. The only way to add a Java annotation is via the source code. |
java.lang.String[][] |
getMetaData(java.lang.String tagName)
Deprecated. Javadoc comment metadata has been deprecated in favor of proper Java annotations. See HasAnnotations.getAnnotation(Class) for equivalent
functionality. |
java.lang.String[] |
getMetaDataTags()
Deprecated. Javadoc comment metadata has been deprecated in favor of proper Java annotations. The HasAnnotations interface does not
support a mechanism to enumerate all of the annotations on a
member; the type of the desired annotation must be known. |
Method Detail |
---|
@Deprecated void addMetaData(java.lang.String tagName, java.lang.String[] values)
@Deprecated java.lang.String[][] getMetaData(java.lang.String tagName)
HasAnnotations.getAnnotation(Class)
for equivalent
functionality.
@Deprecated java.lang.String[] getMetaDataTags()
HasAnnotations
interface does not
support a mechanism to enumerate all of the annotations on a
member; the type of the desired annotation must be known.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |