Uses of Class
com.sun.codemodel.JDefinedClass
Packages that use JDefinedClass
Package
Description
Library for generating Java source code
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.
Object Model that represents customization declarations.
-
Uses of JDefinedClass in com.sun.codemodel
Methods in com.sun.codemodel that return JDefinedClassModifier and TypeMethodDescriptionJClassContainer._annotationTypeDeclaration
(String name) Add an annotationType Declaration to this packageJDefinedClass._annotationTypeDeclaration
(String name) Add an annotationType Declaration to this packageJPackage._annotationTypeDeclaration
(String name) Add an annotationType Declaration to this packageAdd a new class to this package/class.Deprecated.Creates a new class/enum/interface/annotation.Add a new public class to this class/package.Creates a new generated class.Creates a new generated class.Creates a new generated class.Add a new nested class to this class.Deprecated.Add a new public nested class to this class.Add a class to this package.Deprecated.Adds a public class to this package.Add a public enum to this packageAdd a public enum to this packageAdd a public enum to this packageAdd a public enum to this packageThis class extends the specifed class.Gets a reference to the already created generated class.Gets a reference to the already createdJDefinedClass
.JDefinedClass._implements
(JClass iface) This class implements the specifed interface.JDefinedClass._implements
(Class<?> iface) JClassContainer._interface
(int mods, String name) Add an interface to this class/package.JClassContainer._interface
(String name) Adds a public interface to this package.JDefinedClass._interface
(int mods, String name) Add an interface to this package.JDefinedClass._interface
(String name) Adds a public interface to this package.JPackage._interface
(int mods, String name) Add an interface to this package.JPackage._interface
(String name) Adds a public interface to this package.JCodeModel.anonymousClass
(JClass baseType) Creates a new anonymous class.JCodeModel.anonymousClass
(Class<?> baseType) JClassAlreadyExistsException.getExistingClass()
Gets a reference to the existingJDefinedClass
.JCodeModel.newAnonymousClass
(JClass baseType) Deprecated.The naming convention doesn't match the rest of the CodeModel.Methods in com.sun.codemodel that return types with arguments of type JDefinedClassModifier and TypeMethodDescriptionJClassContainer.classes()
Returns an iterator that walks the nested classes defined in this class.final Iterator
<JDefinedClass> JDefinedClass.classes()
Returns an iterator that walks the nested classes defined in this class.JPackage.classes()
Returns an iterator that walks the top-level classes defined in this package.Constructors in com.sun.codemodel with parameters of type JDefinedClass -
Uses of JDefinedClass in com.sun.tools.txw2.model
Methods in com.sun.tools.txw2.model with parameters of type JDefinedClassModifier and TypeMethodDescriptionprotected final void
Leaf.createDataMethod
(JDefinedClass clazz, JType valueType, NodeSet nset, Set<Prop> props) Creates a prop of the data value method. -
Uses of JDefinedClass in com.sun.tools.xjc.generator.bean
Fields in com.sun.tools.xjc.generator.bean declared as JDefinedClassModifier and TypeFieldDescriptionfinal JDefinedClass
ImplStructureStrategy.Result.exposed
Corresponds toAspect.EXPOSED
final JDefinedClass
ImplStructureStrategy.Result.implementation
Corresponds toAspect.IMPLEMENTATION
Methods in com.sun.tools.xjc.generator.bean that return JDefinedClassModifier and TypeMethodDescriptionDualObjectFactoryGenerator.getObjectFactory()
Returns the private version (which is what gets used at runtime.)abstract JDefinedClass
ObjectFactoryGenerator.getObjectFactory()
Returns a reference to the generated (public) ObjectFactoryPackageOutlineImpl.objectFactory()
Constructors in com.sun.tools.xjc.generator.bean with parameters of type JDefinedClass -
Uses of JDefinedClass in com.sun.tools.xjc.outline
Fields in com.sun.tools.xjc.outline declared as JDefinedClassModifier and TypeFieldDescriptionfinal JDefinedClass
EnumOutline.clazz
The generated enum class.final JDefinedClass
ClassOutline.implClass
The implementation aspect of a bean.final JDefinedClass
ElementOutline.implClass
The implementation aspect of a bean.final JDefinedClass
ClassOutline.ref
The exposed aspect of the a bean.Methods in com.sun.tools.xjc.outline that return JDefinedClassModifier and TypeMethodDescriptionClassOutline.getImplClass()
CustomizableOutline.getImplClass()
Provides customization output.ElementOutline.getImplClass()
EnumOutline.getImplClass()
PackageOutline.objectFactory()
Generated ObjectFactory from package.Constructors in com.sun.tools.xjc.outline with parameters of type JDefinedClassModifierConstructorDescriptionprotected
ClassOutline
(CClassInfo _target, JDefinedClass exposedClass, JClass implRef, JDefinedClass _implClass) protected
ElementOutline
(CElementInfo target, JDefinedClass implClass) protected
EnumOutline
(CEnumLeafInfo target, JDefinedClass clazz) -
Uses of JDefinedClass in com.sun.tools.xjc.reader.xmlschema.bindinfo
Methods in com.sun.tools.xjc.reader.xmlschema.bindinfo that return JDefinedClassModifier and TypeMethodDescriptionBIGlobalBinding.getSuperClass()
BIGlobalBinding.getSuperInterface()
-
Uses of JDefinedClass in com.sun.tools.xjc.util
Methods in com.sun.tools.xjc.util that return JDefinedClassModifier and TypeMethodDescriptionCodeModelClassFactory.createClass
(JClassContainer parent, int mod, String name, Locator source) CodeModelClassFactory.createClass
(JClassContainer parent, int mod, String name, Locator source, ClassType kind) CodeModelClassFactory.createClass
(JClassContainer parent, String name, Locator source) CodeModelClassFactory.createClass
(JClassContainer parent, String name, Locator source, ClassType kind) CodeModelClassFactory.createInterface
(JClassContainer parent, int mod, String name, Locator source) CodeModelClassFactory.createInterface
(JClassContainer parent, String name, Locator source)
JClassContainer._class(int, String, ClassType)