Top Inners Constructors Methods
com.sun.tools.jxc.api.impl.j2s

public Class JavaCompilerImpl

extends Object
implements JavaCompiler
Class Inheritance
All Implemented Interfaces
com.sun.tools.jxc.api.JavaCompiler, com.sun.tools.xjc.api.JavaCompiler
Imports
java.util.Collection, .Collections, .HashMap, .Map, java.util.stream.Collectors, jakarta.xml.bind.annotation.XmlList, jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter, javax.xml.namespace.QName, javax.annotation.processing.ProcessingEnvironment, .Messager, javax.lang.model.element.ExecutableElement, .TypeElement, .VariableElement, javax.lang.model.type.TypeMirror, javax.tools.Diagnostic, com.sun.tools.jxc.ap.InlineAnnotationReaderImpl, com.sun.tools.jxc.api.J2SJAXBModel, .JavaCompiler, .Reference, com.sun.tools.jxc.model.nav.ApNavigator, org.glassfish.jaxb.core.v2.model.core.ErrorHandler, .Ref, .TypeInfoSet, org.glassfish.jaxb.runtime.v2.model.impl.ModelBuilder, org.glassfish.jaxb.core.v2.runtime.IllegalAnnotationException

References Deprecated

JavaCompiler is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Author
Kohsuke Kawaguchi ([email protected])

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public J2SJAXBModel
bind(Collection<Reference> rootClasses, Map<QName, Reference> additionalElementDecls, ProcessingEnvironment env, String defaultNamespaceRemap)

Implements com.sun.tools.jxc.api.JavaCompiler.bind.

References Deprecated J2SJAXBModel is deprecated or references (maybe indirectly) at least one deprecated element.

Compiles the given annotated Java source code.

public J2SJAXBModel
bind(Collection<Reference> rootTypes, Map<QName, Reference> additionalElementDecls, String defaultNamespaceRemap, ProcessingEnvironment env)

Implements com.sun.tools.xjc.api.JavaCompiler.bind.

References Deprecated J2SJAXBModel is deprecated or references (maybe indirectly) at least one deprecated element.

Compiles the given annotated Java source code.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

JavaCompilerImplback to summary
public JavaCompilerImpl()

Method Detail

bindback to summary
public J2SJAXBModel bind(Collection<Reference> rootClasses, Map<QName, Reference> additionalElementDecls, ProcessingEnvironment env, String defaultNamespaceRemap)

Implements com.sun.tools.jxc.api.JavaCompiler.bind.

Doc from com.sun.tools.jxc.api.JavaCompiler.bind.

References Deprecated

J2SJAXBModel is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Compiles the given annotated Java source code.

This operation takes a set of "root types", then compute the list of all the types that need to be bound by forming a transitive reflexive closure of types that are referenced by the root types.

Errors will be sent to javax.annotation.processing.ProcessingEnvironment#getMessager().

Annotations
@Override
bindback to summary
public J2SJAXBModel bind(Collection<Reference> rootTypes, Map<QName, Reference> additionalElementDecls, String defaultNamespaceRemap, ProcessingEnvironment env)

Implements com.sun.tools.xjc.api.JavaCompiler.bind.

Doc from com.sun.tools.xjc.api.JavaCompiler.bind.

References Deprecated

J2SJAXBModel is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Compiles the given annotated Java source code.

This operation takes a set of "root types", then compute the list of all the types that need to be bound by forming a transitive reflexive closure of types that are referenced by the root types.

Errors will be sent to ProcessingEnvironment#getMessager().

Annotations
@Override
@SuppressWarnings:removal
com.sun.tools.jxc.api.impl.j2s back to summary

private final Class JavaCompilerImpl.ErrorHandlerImpl

extends Object
implements ErrorHandler
Class Inheritance
  • java.lang.Object
  • com.sun.tools.jxc.api.impl.j2s.JavaCompilerImpl.ErrorHandlerImpl
All Implemented Interfaces
org.glassfish.jaxb.core.v2.model.core.ErrorHandler

Field Summary

Modifier and TypeField and Description
private final Messager

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
error(IllegalAnnotationException e)

Implements org.glassfish.jaxb.core.v2.model.core.ErrorHandler.error.

Receives a notification for an error in the annotated code.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

messagerback to summary
private final Messager messager

Constructor Detail

ErrorHandlerImplback to summary
public ErrorHandlerImpl(Messager messager)

Method Detail

errorback to summary
public void error(IllegalAnnotationException e)

Implements org.glassfish.jaxb.core.v2.model.core.ErrorHandler.error.

Doc from org.glassfish.jaxb.core.v2.model.core.ErrorHandler.error.

Receives a notification for an error in the annotated code.

Annotations
@Override