Package | Description |
---|---|
com.sun.codemodel |
Library for generating Java source code
|
com.sun.tools.xjc.generator.bean | |
com.sun.tools.xjc.outline |
Provides the outline of the generated Java source code so that
additional processing (such as adding more annotations) can be
done on the generated code.
|
com.sun.tools.xjc.reader.xmlschema.bindinfo |
Object Model that represents customization declarations.
|
com.sun.tools.xjc.util |
Modifier and Type | Method and Description |
---|---|
JDefinedClass |
JPackage._annotationTypeDeclaration(String name)
Add an annotationType Declaration to this package
|
JDefinedClass |
JDefinedClass._annotationTypeDeclaration(String name)
Add an annotationType Declaration to this package
|
JDefinedClass |
JClassContainer._annotationTypeDeclaration(String name)
Add an annotationType Declaration to this package
|
JDefinedClass |
JPackage._class(int mods,
String name)
Add a class to this package.
|
JDefinedClass |
JDefinedClass._class(int mods,
String name)
Add a new nested class to this class.
|
JDefinedClass |
JClassContainer._class(int mods,
String name)
Add a new class to this package/class.
|
JDefinedClass |
JPackage._class(int mods,
String name,
boolean isInterface)
Deprecated.
|
JDefinedClass |
JDefinedClass._class(int mods,
String name,
boolean isInterface)
Deprecated.
|
JDefinedClass |
JClassContainer._class(int mods,
String name,
boolean isInterface)
Deprecated.
|
JDefinedClass |
JPackage._class(int mods,
String name,
ClassType classTypeVal) |
JDefinedClass |
JDefinedClass._class(int mods,
String name,
ClassType classTypeVal) |
JDefinedClass |
JCodeModel._class(int mods,
String fullyqualifiedName,
ClassType t)
Creates a new generated class.
|
JDefinedClass |
JClassContainer._class(int mods,
String name,
ClassType kind)
Creates a new class/enum/interface/annotation.
|
JDefinedClass |
JPackage._class(String name)
Adds a public class to this package.
|
JDefinedClass |
JDefinedClass._class(String name)
Add a new public nested class to this class.
|
JDefinedClass |
JCodeModel._class(String fullyqualifiedName)
Creates a new generated class.
|
JDefinedClass |
JClassContainer._class(String name)
Add a new public class to this class/package.
|
JDefinedClass |
JCodeModel._class(String fullyqualifiedName,
ClassType t)
Creates a new generated class.
|
JDefinedClass |
JDefinedClass._enum(int mods,
String name)
Add a public enum to this package
|
JDefinedClass |
JPackage._enum(String name)
Add a public enum to this package
|
JDefinedClass |
JDefinedClass._enum(String name)
Add a public enum to this package
|
JDefinedClass |
JClassContainer._enum(String name)
Add a public enum to this package
|
JDefinedClass |
JDefinedClass._extends(Class<?> superClass) |
JDefinedClass |
JDefinedClass._extends(JClass superClass)
This class extends the specifed class.
|
JDefinedClass |
JPackage._getClass(String name)
Gets a reference to the already created
JDefinedClass . |
JDefinedClass |
JCodeModel._getClass(String fullyQualifiedName)
Gets a reference to the already created generated class.
|
JDefinedClass |
JDefinedClass._implements(Class<?> iface) |
JDefinedClass |
JDefinedClass._implements(JClass iface)
This class implements the specifed interface.
|
JDefinedClass |
JPackage._interface(int mods,
String name)
Add an interface to this package.
|
JDefinedClass |
JDefinedClass._interface(int mods,
String name)
Add an interface to this package.
|
JDefinedClass |
JClassContainer._interface(int mods,
String name)
Add an interface to this class/package.
|
JDefinedClass |
JPackage._interface(String name)
Adds a public interface to this package.
|
JDefinedClass |
JDefinedClass._interface(String name)
Adds a public interface to this package.
|
JDefinedClass |
JClassContainer._interface(String name)
Adds a public interface to this package.
|
JDefinedClass |
JCodeModel.anonymousClass(Class<?> baseType) |
JDefinedClass |
JCodeModel.anonymousClass(JClass baseType)
Creates a new anonymous class.
|
JDefinedClass |
JClassAlreadyExistsException.getExistingClass()
Gets a reference to the existing
JDefinedClass . |
JDefinedClass |
JCodeModel.newAnonymousClass(JClass baseType)
Deprecated.
The naming convention doesn't match the rest of the CodeModel.
Use
JCodeModel.anonymousClass(JClass) instead. |
Modifier and Type | Method and Description |
---|---|
Iterator<JDefinedClass> |
JPackage.classes()
Returns an iterator that walks the top-level classes defined in this
package.
|
Iterator<JDefinedClass> |
JDefinedClass.classes()
Returns an iterator that walks the nested classes defined in this
class.
|
Iterator<JDefinedClass> |
JClassContainer.classes()
Returns an iterator that walks the nested classes defined in this
class.
|
Constructor and Description |
---|
JClassAlreadyExistsException(JDefinedClass _existing) |
Modifier and Type | Field and Description |
---|---|
JDefinedClass |
ImplStructureStrategy.Result.exposed
Corresponds to
Aspect.EXPOSED |
JDefinedClass |
ImplStructureStrategy.Result.implementation
Corresponds to
Aspect.IMPLEMENTATION |
Modifier and Type | Method and Description |
---|---|
abstract JDefinedClass |
ObjectFactoryGenerator.getObjectFactory()
Returns a reference to the generated (public) ObjectFactory
|
JDefinedClass |
DualObjectFactoryGenerator.getObjectFactory()
Returns the private version (which is what gets used at runtime.)
|
JDefinedClass |
PackageOutlineImpl.objectFactory() |
Constructor and Description |
---|
Result(JDefinedClass exposed,
JDefinedClass implementation) |
Modifier and Type | Field and Description |
---|---|
JDefinedClass |
EnumOutline.clazz
The generated enum class.
|
JDefinedClass |
ElementOutline.implClass
The implementation aspect of a bean.
|
JDefinedClass |
ClassOutline.implClass
The implementation aspect of a bean.
|
JDefinedClass |
ClassOutline.ref
The exposed aspect of the a bean.
|
Modifier and Type | Method and Description |
---|---|
JDefinedClass |
EnumOutline.getImplClass() |
JDefinedClass |
ElementOutline.getImplClass() |
JDefinedClass |
CustomizableOutline.getImplClass()
Provides customization output.
|
JDefinedClass |
ClassOutline.getImplClass() |
JDefinedClass |
PackageOutline.objectFactory()
Generated ObjectFactory from package.
|
Constructor and Description |
---|
ClassOutline(CClassInfo _target,
JDefinedClass exposedClass,
JClass implRef,
JDefinedClass _implClass) |
ElementOutline(CElementInfo target,
JDefinedClass implClass) |
EnumOutline(CEnumLeafInfo target,
JDefinedClass clazz) |
Modifier and Type | Method and Description |
---|---|
JDefinedClass |
BIGlobalBinding.getSuperClass() |
JDefinedClass |
BIGlobalBinding.getSuperInterface() |
Modifier and Type | Method and Description |
---|---|
JDefinedClass |
CodeModelClassFactory.createClass(JClassContainer parent,
int mod,
String name,
Locator source) |
JDefinedClass |
CodeModelClassFactory.createClass(JClassContainer parent,
int mod,
String name,
Locator source,
ClassType kind) |
JDefinedClass |
CodeModelClassFactory.createClass(JClassContainer parent,
String name,
Locator source) |
JDefinedClass |
CodeModelClassFactory.createClass(JClassContainer parent,
String name,
Locator source,
ClassType kind) |
JDefinedClass |
CodeModelClassFactory.createInterface(JClassContainer parent,
int mod,
String name,
Locator source) |
JDefinedClass |
CodeModelClassFactory.createInterface(JClassContainer parent,
String name,
Locator source) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.