|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkoala.dynamicjava.tree.Node
koala.dynamicjava.tree.Declaration
koala.dynamicjava.tree.TypeDeclaration
koala.dynamicjava.tree.ClassDeclaration
koala.dynamicjava.tree.EnumDeclaration
public class EnumDeclaration
This class represents an enum declaration
| Nested Class Summary | |
|---|---|
static class |
EnumDeclaration.EnumBody
|
static class |
EnumDeclaration.EnumConstant
|
| Constructor Summary | |
|---|---|
EnumDeclaration(ModifierSet mods,
java.lang.String name,
java.util.List<? extends ReferenceTypeName> impl,
EnumDeclaration.EnumBody body)
Creates a new enum declaration |
|
EnumDeclaration(ModifierSet mods,
java.lang.String name,
java.util.List<? extends ReferenceTypeName> impl,
EnumDeclaration.EnumBody body,
SourceInfo si)
Creates a new enum declaration |
|
| Method Summary |
|---|
| Methods inherited from class koala.dynamicjava.tree.ClassDeclaration |
|---|
acceptVisitor, getSuperclass, setSuperclass, toString, toStringHelper |
| Methods inherited from class koala.dynamicjava.tree.TypeDeclaration |
|---|
getInterfaces, getMembers, getName, getTypeParams, setInterfaces, setMembers, setName, setTypeArgs, setTypeArgs |
| Methods inherited from class koala.dynamicjava.tree.Declaration |
|---|
getModifiers, setModifiers |
| Methods inherited from class koala.dynamicjava.tree.Node |
|---|
archiveProperties, getProperties, getProperty, getSourceInfo, hasProperty, setProperty, setSourceInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnumDeclaration(ModifierSet mods,
java.lang.String name,
java.util.List<? extends ReferenceTypeName> impl,
EnumDeclaration.EnumBody body)
mods - the modifiersname - the name of the enum to declareimpl - the list of implemented interfaces (a list of list of
Token). Can be null.body - the list of members declarations
public EnumDeclaration(ModifierSet mods,
java.lang.String name,
java.util.List<? extends ReferenceTypeName> impl,
EnumDeclaration.EnumBody body,
SourceInfo si)
mods - the modifiersname - the name of the enum to declareimpl - the list of implemented interfaces (a list of list of
Token). Can be null.body - the list of members declarations
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||