|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAptAnnotationHelper
public class AptAnnotationHelper
The AptAnnotationHelper class is a helper class that aids in the reading of annotation values using APT metadata
Constructor Summary | |
---|---|
AptAnnotationHelper(AnnotationMirror annot)
Initialize a new helper instance based upon a specific annotation declaration. |
Method Summary | |
---|---|
AnnotationTypeElementDeclaration |
getElementDeclaration(String elemName)
Returns the AnnotationTypeElementDeclaration for a particular element |
Object |
getObjectValue(String elemName)
Returns the value of a particular element as an Object |
String |
getStringValue(String elemName)
Returns the value of a particular element as a String |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AptAnnotationHelper(AnnotationMirror annot)
annot
- The annotation value declarationMethod Detail |
---|
public AnnotationTypeElementDeclaration getElementDeclaration(String elemName)
public String getStringValue(String elemName)
public Object getObjectValue(String elemName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |