| Package | Description |
|---|---|
| org.jboss.forge.roaster.model.source |
| Modifier and Type | Method and Description |
|---|---|
EnumConstantSource |
JavaEnumSource.addEnumConstant()
Add a new
EnumConstant |
EnumConstantSource |
JavaEnumSource.addEnumConstant(String declaration)
Add a new
EnumConstant using the given declaration. |
EnumConstantSource |
JavaEnumSource.getEnumConstant(String name)
Return the
EnumConstant with the given name, or return null if no such constant exists. |
EnumConstantSource |
EnumConstantSource.removeBody()
Remove the
EnumConstantSource.Body of this enum constant. |
EnumConstantSource |
EnumConstantSource.setConstructorArguments(String... literalArguments)
Set the constructor arguments for this enum constant.
|
| Modifier and Type | Method and Description |
|---|---|
List<EnumConstantSource> |
JavaEnumSource.getEnumConstants()
Return all declared
EnumConstant types for this JavaEnum |
Copyright © 2019 JBoss by Red Hat. All rights reserved.