|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.janino.Java.NormalAnnotation
public static final class Java.NormalAnnotation
A 'normal annotation', i.e. an annotation with multiple elements in parentheses and curly braces.
| Field Summary | |
|---|---|
Java.ElementValuePair[] |
elementValuePairs
The element-value-pairs associated with this annotation. |
Java.Type |
type
The type of this normal annotation. |
| Constructor Summary | |
|---|---|
Java.NormalAnnotation(Java.Type type,
Java.ElementValuePair[] elementValuePairs)
|
|
| Method Summary | |
|---|---|
void |
accept(Visitor.AnnotationVisitor visitor)
Invokes the ' visit...()' method of Visitor.AnnotationVisitor for the concrete Java.Annotation type. |
void |
accept(Visitor.ElementValueVisitor visitor)
Invokes the ' visit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type. |
Java.Type |
getType()
|
void |
setEnclosingScope(Java.Scope enclosingScope)
Sets the enclosing scope for this annotation. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final Java.Type type
public final Java.ElementValuePair[] elementValuePairs
| Constructor Detail |
|---|
public Java.NormalAnnotation(Java.Type type,
Java.ElementValuePair[] elementValuePairs)
| Method Detail |
|---|
public Java.Type getType()
getType in interface Java.Annotationpublic String toString()
toString in class Objectpublic void setEnclosingScope(Java.Scope enclosingScope)
Java.Annotation
setEnclosingScope in interface Java.Annotationpublic void accept(Visitor.AnnotationVisitor visitor)
Java.Annotationvisit...()' method of Visitor.AnnotationVisitor for the concrete Java.Annotation type.
accept in interface Java.Annotationpublic void accept(Visitor.ElementValueVisitor visitor)
Java.ElementValuevisit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type.
accept in interface Java.ElementValue
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||