com.sun.tools.internal.xjc.outline.EnumOutline Java Examples
The following examples show how to use
com.sun.tools.internal.xjc.outline.EnumOutline.
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 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 #2
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 #3
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 #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 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-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 #8
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 #9
Source File: PluginImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public boolean run( Outline model, Options opt, ErrorHandler errorHandler ) { // we want this to work without requiring JSR-250 jar. annotation = model.getCodeModel().ref("javax.annotation.Generated"); for( ClassOutline co : model.getClasses() ) augument(co); for( EnumOutline eo : model.getEnums() ) augument(eo); //TODO: process generated ObjectFactory classes? return true; }
Example #10
Source File: PluginImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
public boolean run( Outline model, Options opt, ErrorHandler errorHandler ) { // we want this to work without requiring JSR-250 jar. annotation = model.getCodeModel().ref("javax.annotation.Generated"); for( ClassOutline co : model.getClasses() ) augument(co); for( EnumOutline eo : model.getEnums() ) augument(eo); //TODO: process generated ObjectFactory classes? return true; }
Example #11
Source File: PluginImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public boolean run( Outline model, Options opt, ErrorHandler errorHandler ) { // we want this to work without requiring JSR-250 jar. annotation = model.getCodeModel().ref("javax.annotation.Generated"); for( ClassOutline co : model.getClasses() ) augument(co); for( EnumOutline eo : model.getEnums() ) augument(eo); //TODO: process generated ObjectFactory classes? return true; }
Example #12
Source File: PluginImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public boolean run( Outline model, Options opt, ErrorHandler errorHandler ) { // we want this to work without requiring JSR-250 jar. annotation = model.getCodeModel().ref("javax.annotation.Generated"); for( ClassOutline co : model.getClasses() ) augument(co); for( EnumOutline eo : model.getEnums() ) augument(eo); //TODO: process generated ObjectFactory classes? return true; }
Example #13
Source File: PluginImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public boolean run( Outline model, Options opt, ErrorHandler errorHandler ) { // we want this to work without requiring JSR-250 jar. annotation = model.getCodeModel().ref("javax.annotation.Generated"); for( ClassOutline co : model.getClasses() ) augument(co); for( EnumOutline eo : model.getEnums() ) augument(eo); //TODO: process generated ObjectFactory classes? return true; }
Example #14
Source File: PluginImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public boolean run( Outline model, Options opt, ErrorHandler errorHandler ) { // we want this to work without requiring JSR-250 jar. annotation = model.getCodeModel().ref("javax.annotation.Generated"); for( ClassOutline co : model.getClasses() ) augument(co); for( EnumOutline eo : model.getEnums() ) augument(eo); //TODO: process generated ObjectFactory classes? return true; }
Example #15
Source File: PluginImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public boolean run( Outline model, Options opt, ErrorHandler errorHandler ) { // we want this to work without requiring JSR-250 jar. annotation = model.getCodeModel().ref("javax.annotation.Generated"); for( ClassOutline co : model.getClasses() ) augument(co); for( EnumOutline eo : model.getEnums() ) augument(eo); //TODO: process generated ObjectFactory classes? return true; }
Example #16
Source File: PluginImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public boolean run( Outline model, Options opt, ErrorHandler errorHandler ) { // we want this to work without requiring JSR-250 jar. annotation = model.getCodeModel().ref("javax.annotation.Generated"); for( ClassOutline co : model.getClasses() ) augument(co); for( EnumOutline eo : model.getEnums() ) augument(eo); //TODO: process generated ObjectFactory classes? return true; }
Example #17
Source File: PluginImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
private void augument(EnumOutline eo) { annotate(eo.clazz); }
Example #18
Source File: BeanGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public EnumOutline getEnum(CEnumLeafInfo eli) { return enums.get(eli); }
Example #19
Source File: BeanGenerator.java From hottub with GNU General Public License v2.0 | 4 votes |
public Collection<EnumOutline> getEnums() { return enums.values(); }
Example #20
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 #21
Source File: BeanGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public Collection<EnumOutline> getEnums() { return enums.values(); }
Example #22
Source File: PluginImpl.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
private void augument(EnumOutline eo) { annotate(eo.clazz); }
Example #23
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 #24
Source File: BeanGenerator.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public Collection<EnumOutline> getEnums() { return enums.values(); }
Example #25
Source File: PluginImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
private void augument(EnumOutline eo) { annotate(eo.clazz); }
Example #26
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 #27
Source File: PluginImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
private void augument(EnumOutline eo) { annotate(eo.clazz); }
Example #28
Source File: BeanGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public Collection<EnumOutline> getEnums() { return enums.values(); }
Example #29
Source File: BeanGenerator.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
public EnumOutline getEnum(CEnumLeafInfo eli) { return enums.get(eli); }
Example #30
Source File: PluginImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
private void augument(EnumOutline eo) { annotate(eo.clazz); }