@SupportedAnnotationTypes(value="org.orekit.annotation.DefaultDataContext") @SupportedSourceVersion(value=RELEASE_8) public class DefaultDataContextPlugin extends Object implements com.sun.source.util.Plugin, com.sun.source.util.TaskListener
DefaultDataContext
to issue warnings at compile time.
To use this plugin add -Xplugin:dataContextPlugin
to the javac command line.
Tested with OpenJDK 8 and 11.
Do not reference this class unless executing within javac
or you have added
tools.jar
to the class path. tools.jar
is part of the JDK, not JRE, and
is typically located at JAVA_HOME/../lib/tools.jar
.
Constructor and Description |
---|
DefaultDataContextPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
finished(com.sun.source.util.TaskEvent taskEvent) |
String |
getName() |
void |
init(com.sun.source.util.JavacTask javacTask,
String... args) |
void |
started(com.sun.source.util.TaskEvent taskEvent) |
public String getName()
getName
in interface com.sun.source.util.Plugin
public void init(com.sun.source.util.JavacTask javacTask, String... args)
init
in interface com.sun.source.util.Plugin
public void started(com.sun.source.util.TaskEvent taskEvent)
started
in interface com.sun.source.util.TaskListener
public void finished(com.sun.source.util.TaskEvent taskEvent)
finished
in interface com.sun.source.util.TaskListener
Copyright © 2002-2022 CS GROUP. All rights reserved.