org.codehaus.jparsec.examples.java.ast.declaration
Class ClassDef
java.lang.Object
org.codehaus.jparsec.examples.common.ValueObject
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
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
ClassDef
public ClassDef(List<Modifier> modifiers,
String name,
List<TypeParameterDef> typeParameters,
TypeLiteral superclass,
List<TypeLiteral> interfaces,
DefBody body)
toString
public String toString()
- Overrides:
toString in class ValueObject
Copyright © 2014. All rights reserved.