com.sun.tools.internal.xjc.model.CEnumLeafInfo Java Examples
The following examples show how to use
com.sun.tools.internal.xjc.model.CEnumLeafInfo.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BeanGenerator.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
/** * Generates the minimum {@link JDefinedClass} skeleton * without filling in its body. */ private EnumOutline generateEnumDef(CEnumLeafInfo e) { JDefinedClass type; type = getClassFactory().createClass( getContainer(e.parent, EXPOSED), e.shortName, e.getLocator(), ClassType.ENUM); type.javadoc().append(e.javadoc); return new EnumOutline(e, type) { @Override public @NotNull Outline parent() { return BeanGenerator.this; } }; }
Example #2
Source File: BeanGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
/** * Generates the minimum {@link JDefinedClass} skeleton * without filling in its body. */ private EnumOutline generateEnumDef(CEnumLeafInfo e) { JDefinedClass type; type = getClassFactory().createClass( getContainer(e.parent, EXPOSED), e.shortName, e.getLocator(), ClassType.ENUM); type.javadoc().append(e.javadoc); return new EnumOutline(e, type) { @Override public @NotNull Outline parent() { return BeanGenerator.this; } }; }
Example #3
Source File: BeanGenerator.java From hottub with GNU General Public License v2.0 | 6 votes |
/** * Generates the minimum {@link JDefinedClass} skeleton * without filling in its body. */ private EnumOutline generateEnumDef(CEnumLeafInfo e) { JDefinedClass type; type = getClassFactory().createClass( getContainer(e.parent, EXPOSED), e.shortName, e.getLocator(), ClassType.ENUM); type.javadoc().append(e.javadoc); return new EnumOutline(e, type) { @Override public @NotNull Outline parent() { return BeanGenerator.this; } }; }
Example #4
Source File: BeanGenerator.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
/** * Generates the minimum {@link JDefinedClass} skeleton * without filling in its body. */ private EnumOutline generateEnumDef(CEnumLeafInfo e) { JDefinedClass type; type = getClassFactory().createClass( getContainer(e.parent, EXPOSED), e.shortName, e.getLocator(), ClassType.ENUM); type.javadoc().append(e.javadoc); return new EnumOutline(e, type) { @Override public @NotNull Outline parent() { return BeanGenerator.this; } }; }
Example #5
Source File: BeanGenerator.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * Generates the minimum {@link JDefinedClass} skeleton * without filling in its body. */ private EnumOutline generateEnumDef(CEnumLeafInfo e) { JDefinedClass type; type = getClassFactory().createClass( getContainer(e.parent, EXPOSED), e.shortName, e.getLocator(), ClassType.ENUM); type.javadoc().append(e.javadoc); return new EnumOutline(e, type) { @Override public @NotNull Outline parent() { return BeanGenerator.this; } }; }
Example #6
Source File: BeanGenerator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** * Generates the minimum {@link JDefinedClass} skeleton * without filling in its body. */ private EnumOutline generateEnumDef(CEnumLeafInfo e) { JDefinedClass type; type = getClassFactory().createClass( getContainer(e.parent, EXPOSED), e.shortName, e.getLocator(), ClassType.ENUM); type.javadoc().append(e.javadoc); return new EnumOutline(e, type) { @Override public @NotNull Outline parent() { return BeanGenerator.this; } }; }
Example #7
Source File: BeanGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** * Generates the minimum {@link JDefinedClass} skeleton * without filling in its body. */ private EnumOutline generateEnumDef(CEnumLeafInfo e) { JDefinedClass type; type = getClassFactory().createClass( getContainer(e.parent, EXPOSED), e.shortName, e.getLocator(), ClassType.ENUM); type.javadoc().append(e.javadoc); return new EnumOutline(e, type) { @Override public @NotNull Outline parent() { return BeanGenerator.this; } }; }
Example #8
Source File: BeanGenerator.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** * Generates the minimum {@link JDefinedClass} skeleton * without filling in its body. */ private EnumOutline generateEnumDef(CEnumLeafInfo e) { JDefinedClass type; type = getClassFactory().createClass( getContainer(e.parent, EXPOSED), e.shortName, e.getLocator(), ClassType.ENUM); type.javadoc().append(e.javadoc); return new EnumOutline(e, type) { @Override public @NotNull Outline parent() { return BeanGenerator.this; } }; }
Example #9
Source File: BIEnumeration.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** Creates an element-local enumeration declaration. */ static BIEnumeration create( Element dom, BIElement parent ) { // create a class as a nested class return new BIEnumeration( dom, new CEnumLeafInfo( parent.parent.model, null, parent.clazz, DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom) )); }
Example #10
Source File: BIEnumeration.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** Creates an element-local enumeration declaration. */ static BIEnumeration create( Element dom, BIElement parent ) { // create a class as a nested class return new BIEnumeration( dom, new CEnumLeafInfo( parent.parent.model, null, parent.clazz, DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom) )); }
Example #11
Source File: BIEnumeration.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** Creates a global enumeration declaration. */ static BIEnumeration create( Element dom, BindInfo parent ) { // create a class in the target package. return new BIEnumeration( dom, new CEnumLeafInfo( parent.model, null, new CClassInfoParent.Package(parent.getTargetPackage()), DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom))); }
Example #12
Source File: BIEnumeration.java From hottub with GNU General Public License v2.0 | 5 votes |
/** Creates a global enumeration declaration. */ static BIEnumeration create( Element dom, BindInfo parent ) { // create a class in the target package. return new BIEnumeration( dom, new CEnumLeafInfo( parent.model, null, new CClassInfoParent.Package(parent.getTargetPackage()), DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom))); }
Example #13
Source File: BIEnumeration.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** Creates an element-local enumeration declaration. */ static BIEnumeration create( Element dom, BIElement parent ) { // create a class as a nested class return new BIEnumeration( dom, new CEnumLeafInfo( parent.parent.model, null, parent.clazz, DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom) )); }
Example #14
Source File: BIEnumeration.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** Creates a global enumeration declaration. */ static BIEnumeration create( Element dom, BindInfo parent ) { // create a class in the target package. return new BIEnumeration( dom, new CEnumLeafInfo( parent.model, null, new CClassInfoParent.Package(parent.getTargetPackage()), DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom))); }
Example #15
Source File: BIEnumeration.java From hottub with GNU General Public License v2.0 | 5 votes |
/** Creates an element-local enumeration declaration. */ static BIEnumeration create( Element dom, BIElement parent ) { // create a class as a nested class return new BIEnumeration( dom, new CEnumLeafInfo( parent.parent.model, null, parent.clazz, DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom) )); }
Example #16
Source File: BIEnumeration.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** Creates an element-local enumeration declaration. */ static BIEnumeration create( Element dom, BIElement parent ) { // create a class as a nested class return new BIEnumeration( dom, new CEnumLeafInfo( parent.parent.model, null, parent.clazz, DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom) )); }
Example #17
Source File: BIEnumeration.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** Creates a global enumeration declaration. */ static BIEnumeration create( Element dom, BindInfo parent ) { // create a class in the target package. return new BIEnumeration( dom, new CEnumLeafInfo( parent.model, null, new CClassInfoParent.Package(parent.getTargetPackage()), DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom))); }
Example #18
Source File: BIEnumeration.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** Creates a global enumeration declaration. */ static BIEnumeration create( Element dom, BindInfo parent ) { // create a class in the target package. return new BIEnumeration( dom, new CEnumLeafInfo( parent.model, null, new CClassInfoParent.Package(parent.getTargetPackage()), DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom))); }
Example #19
Source File: BIEnumeration.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** Creates an element-local enumeration declaration. */ static BIEnumeration create( Element dom, BIElement parent ) { // create a class as a nested class return new BIEnumeration( dom, new CEnumLeafInfo( parent.parent.model, null, parent.clazz, DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom) )); }
Example #20
Source File: BIEnumeration.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** Creates an element-local enumeration declaration. */ static BIEnumeration create( Element dom, BIElement parent ) { // create a class as a nested class return new BIEnumeration( dom, new CEnumLeafInfo( parent.parent.model, null, parent.clazz, DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom) )); }
Example #21
Source File: BIEnumeration.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** Creates a global enumeration declaration. */ static BIEnumeration create( Element dom, BindInfo parent ) { // create a class in the target package. return new BIEnumeration( dom, new CEnumLeafInfo( parent.model, null, new CClassInfoParent.Package(parent.getTargetPackage()), DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom))); }
Example #22
Source File: BIEnumeration.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** Creates an element-local enumeration declaration. */ static BIEnumeration create( Element dom, BIElement parent ) { // create a class as a nested class return new BIEnumeration( dom, new CEnumLeafInfo( parent.parent.model, null, parent.clazz, DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom) )); }
Example #23
Source File: BIEnumeration.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** Creates a global enumeration declaration. */ static BIEnumeration create( Element dom, BindInfo parent ) { // create a class in the target package. return new BIEnumeration( dom, new CEnumLeafInfo( parent.model, null, new CClassInfoParent.Package(parent.getTargetPackage()), DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom))); }
Example #24
Source File: BIEnumeration.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** Creates a global enumeration declaration. */ static BIEnumeration create( Element dom, BindInfo parent ) { // create a class in the target package. return new BIEnumeration( dom, new CEnumLeafInfo( parent.model, null, new CClassInfoParent.Package(parent.getTargetPackage()), DOMUtil.getAttribute(dom,"name"), CBuiltinLeafInfo.STRING, buildMemberList(parent.model,dom), null, null/*TODO*/, DOMLocator.getLocationInfo(dom))); }
Example #25
Source File: BeanGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public EnumOutline getEnum(CEnumLeafInfo eli) { return enums.get(eli); }
Example #26
Source File: EnumOutline.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
protected EnumOutline(CEnumLeafInfo target, JDefinedClass clazz) { this.target = target; this.clazz = clazz; }
Example #27
Source File: EnumOutline.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
protected EnumOutline(CEnumLeafInfo target, JDefinedClass clazz) { this.target = target; this.clazz = clazz; }
Example #28
Source File: BeanGenerator.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public EnumOutline getEnum(CEnumLeafInfo eli) { return enums.get(eli); }
Example #29
Source File: BeanGenerator.java From hottub with GNU General Public License v2.0 | 4 votes |
public EnumOutline getEnum(CEnumLeafInfo eli) { return enums.get(eli); }
Example #30
Source File: EnumOutline.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
protected EnumOutline(CEnumLeafInfo target, JDefinedClass clazz) { this.target = target; this.clazz = clazz; }