Uses of Class
com.sun.codemodel.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
Modifier 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.Modifier 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. -
Uses of JDefinedClass in com.sun.tools.ws.processor.generator
Modifier and TypeMethodDescriptionprotected void
GeneratorBase.writeHandlerConfig
(String className, JDefinedClass cls, WsimportOptions options) void
GeneratorExtension.writeWebServiceAnnotation
(Model model, JCodeModel cm, JDefinedClass cls, Port port) Create annotations in service JWS generatedvoid
GeneratorExtension.writeWebServiceClientAnnotation
(WsimportOptions options, JCodeModel cm, JDefinedClass cls) Create annotations in service client generated -
Uses of JDefinedClass in com.sun.tools.ws.processor.modeler.annotation
Modifier and TypeMethodDescriptionprotected JDefinedClass
WebServiceWrapperGenerator.getCMClass
(String className, ClassType type) -
Uses of JDefinedClass in com.sun.tools.xjc.generator.bean
Modifier and TypeFieldDescriptionfinal JDefinedClass
ImplStructureStrategy.Result.exposed
Corresponds toAspect.EXPOSED
final JDefinedClass
ImplStructureStrategy.Result.implementation
Corresponds toAspect.IMPLEMENTATION
Modifier 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()
-
Uses of JDefinedClass in com.sun.tools.xjc.outline
Modifier 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.Modifier and TypeMethodDescriptionClassOutline.getImplClass()
CustomizableOutline.getImplClass()
Provides customization output.ElementOutline.getImplClass()
EnumOutline.getImplClass()
PackageOutline.objectFactory()
Generated ObjectFactory from package.ModifierConstructorDescriptionprotected
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
Modifier and TypeMethodDescriptionBIGlobalBinding.getSuperClass()
BIGlobalBinding.getSuperInterface()
-
Uses of JDefinedClass in com.sun.tools.xjc.util
Modifier 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)