Class Annotation
- java.lang.Object
-
- org.jparsec.examples.common.ValueObject
-
- org.jparsec.examples.java.ast.statement.Annotation
-
- All Implemented Interfaces:
Modifier
public final class Annotation extends ValueObject implements Modifier
Represents the use of an annotation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Annotation.Element
-
Field Summary
Fields Modifier and Type Field Description java.util.List<Annotation.Element>
elements
TypeLiteral
type
-
Constructor Summary
Constructors Constructor Description Annotation(TypeLiteral type, java.util.List<Annotation.Element> elements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class org.jparsec.examples.common.ValueObject
equals, hashCode
-
-
-
-
Field Detail
-
type
public final TypeLiteral type
-
elements
public final java.util.List<Annotation.Element> elements
-
-
Constructor Detail
-
Annotation
public Annotation(TypeLiteral type, java.util.List<Annotation.Element> elements)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classValueObject
-
-