Package org.codehaus.janino
Interface IClass.IAnnotation
- Enclosing class:
- IClass
public static interface IClass.IAnnotation
Representation of a Java "annotation".
-
Method Summary
-
Method Details
-
getAnnotationType
- Returns:
- The type of the annotation
- Throws:
CompileException
-
getElementValue
Returns the value of the named element:Boolean
Byte
Character
Double
Float
Integer
Long
Short
- A primitive value
String
- A string value
IClass.IField
- An enum constant
IClass
- A class literal
IClass.IAnnotation
- An annotation
Object
[]
- An array value
Notice that
null
is not a valid return value.- Throws:
CompileException
-