org.apache.beehive.controls.runtime.generator
Class AptAnnotationHelper

Object
  extended by AptAnnotationHelper

public class AptAnnotationHelper
extends Object

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

AptAnnotationHelper

public AptAnnotationHelper(AnnotationMirror annot)
Initialize a new helper instance based upon a specific annotation declaration.

Parameters:
annot - The annotation value declaration
Method Detail

getElementDeclaration

public AnnotationTypeElementDeclaration getElementDeclaration(String elemName)
Returns the AnnotationTypeElementDeclaration for a particular element


getStringValue

public String getStringValue(String elemName)
Returns the value of a particular element as a String


getObjectValue

public Object getObjectValue(String elemName)
Returns the value of a particular element as an Object