| Package | Description |
|---|---|
| com.helger.jcodemodel |
Library for generating Java source code.
|
| Modifier and Type | Method and Description |
|---|---|
JFieldVar |
JDefinedClass.field(int mods,
AbstractJType type,
String name)
Adds a field to the list of field members of this JDefinedClass.
|
JFieldVar |
JDefinedClass.field(int mods,
AbstractJType type,
String name,
IJExpression init)
Adds a field to the list of field members of this JDefinedClass.
|
JFieldVar |
JDefinedClass.field(int mods,
Class<?> type,
String name) |
JFieldVar |
JDefinedClass.field(int mods,
Class<?> type,
String name,
IJExpression init) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,JFieldVar> |
JDefinedClass.fields()
Returns all the fields declared in this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JDefinedClass.removeField(JFieldVar aField)
Removes a
JFieldVar from this class. |
Copyright © 2013–2015 Philip Helger. All rights reserved.