JClassDef |
JBlock._class(int mods,
java.lang.String name) |
Insert a local class definition at this point.
|
JClassDef |
JClassDefSection._class(int mods,
java.lang.String name) |
Add a nested class to this type.
|
JClassDef |
JSourceFile._class(int mods,
java.lang.String name) |
Add a class definition to this source file.
|
JClassDef |
JClassDefSection._enum(int mods,
java.lang.String name) |
Add a nested enum to this type.
|
JClassDef |
JSourceFile._enum(int mods,
java.lang.String name) |
Add an enum definition to this source file.
|
JClassDef |
JClassDef._extends(java.lang.Class<?> clazz) |
Add an extends type to this type.
|
JClassDef |
JClassDef._extends(java.lang.String name) |
Add an extends type to this type.
|
JClassDef |
JClassDef._extends(JType type) |
Add an extends type to this type.
|
JClassDef |
JClassDef._implements(java.lang.Class<?>... clazz) |
Add one or more implements type(s) to this type.
|
JClassDef |
JClassDef._implements(java.lang.String... name) |
Add one or more implements type(s) to this type.
|
JClassDef |
JClassDef._implements(JType... type) |
Add one or more implements type(s) to this type.
|
JClassDef |
JClassDefSection._interface(int mods,
java.lang.String name) |
Add a nested interface to this type.
|
JClassDef |
JSourceFile._interface(int mods,
java.lang.String name) |
Add an interface definition to this source file.
|
JClassDef |
JClassDefSection.annotationInterface(int mods,
java.lang.String name) |
Add a nested annotation interface to this type.
|
JClassDef |
JSourceFile.annotationInterface(int mods,
java.lang.String name) |
Add an annotation interface definition to this source file.
|
JClassDef |
JClassDef.blankLine() |
Add a blank line at this point of the type.
|
JClassDef |
JEnumConstant.body() |
Add an implementation body to this enum constant.
|