addEnum

Add a public enum to the types of this compilation unit

Return

the newly created class

Parameters

name

the enum name


Add an enum to the types of this compilation unit

Return

the newly created class

Parameters

name

the enum name

modifiers

the modifiers (like Modifier.PUBLIC)