org.codehaus.jparsec.examples.java.ast.statement
Class Annotation

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.java.ast.statement.Annotation
All Implemented Interfaces:
Modifier

public final class Annotation
extends ValueObject
implements Modifier

Represents the use of an annotation.

Author:
Ben Yu

Nested Class Summary
static class Annotation.Element
           
 
Field Summary
 List<Annotation.Element> elements
           
 TypeLiteral type
           
 
Constructor Summary
Annotation(TypeLiteral type, List<Annotation.Element> elements)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class org.codehaus.jparsec.examples.common.ValueObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public final TypeLiteral type

elements

public final List<Annotation.Element> elements
Constructor Detail

Annotation

public Annotation(TypeLiteral type,
                  List<Annotation.Element> elements)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.