| Package | Description |
|---|---|
| com.sun.codemodel |
Library for generating Java source code
|
| Modifier and Type | Field and Description |
|---|---|
static ClassType |
ClassType.ANNOTATION_TYPE_DECL |
static ClassType |
ClassType.CLASS |
static ClassType |
ClassType.ENUM |
static ClassType |
ClassType.INTERFACE |
| Modifier and Type | Method and Description |
|---|---|
ClassType |
JDefinedClass.getClassType() |
| Modifier and Type | Method and Description |
|---|---|
JDefinedClass |
JClassContainer._class(int mods,
String name,
ClassType kind)
Creates a new class/enum/interface/annotation.
|
JDefinedClass |
JCodeModel._class(int mods,
String fullyqualifiedName,
ClassType t)
Creates a new generated class.
|
JDefinedClass |
JDefinedClass._class(int mods,
String name,
ClassType classTypeVal) |
JDefinedClass |
JPackage._class(int mods,
String name,
ClassType classTypeVal) |
JDefinedClass |
JCodeModel._class(String fullyqualifiedName,
ClassType t)
Creates a new generated class.
|
Copyright © 2005–2017 Oracle Corporation. All rights reserved.