org.codehaus.jparsec.examples.java.ast.declaration
Class AnnotationDef

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.java.ast.declaration.AnnotationDef
All Implemented Interfaces:
Declaration

public final class AnnotationDef
extends ValueObject
implements Declaration

Represents an annotation definition.

Author:
Ben Yu

Field Summary
 DefBody body
           
 List<Modifier> modifiers
           
 String name
           
 
Constructor Summary
AnnotationDef(List<Modifier> modifiers, String name, DefBody body)
           
 
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

modifiers

public final List<Modifier> modifiers

name

public final String name

body

public final DefBody body
Constructor Detail

AnnotationDef

public AnnotationDef(List<Modifier> modifiers,
                     String name,
                     DefBody body)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.