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

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

public final class ClassDef
extends ValueObject
implements Declaration

Represents a class definition;

Author:
Ben Yu

Field Summary
 DefBody body
           
 List<TypeLiteral> interfaces
           
 List<Modifier> modifiers
           
 String name
           
 TypeLiteral superclass
           
 List<TypeParameterDef> typeParameters
           
 
Constructor Summary
ClassDef(List<Modifier> modifiers, String name, List<TypeParameterDef> typeParameters, TypeLiteral superclass, List<TypeLiteral> interfaces, 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

typeParameters

public final List<TypeParameterDef> typeParameters

superclass

public final TypeLiteral superclass

interfaces

public final List<TypeLiteral> interfaces

body

public final DefBody body
Constructor Detail

ClassDef

public ClassDef(List<Modifier> modifiers,
                String name,
                List<TypeParameterDef> typeParameters,
                TypeLiteral superclass,
                List<TypeLiteral> interfaces,
                DefBody body)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.