public class JavacConfiguration extends java.lang.Object implements PersistentStateComponent<JpsJavaCompilerOptions>
| Constructor and Description |
|---|
JavacConfiguration(Project project) |
| Modifier and Type | Method and Description |
|---|---|
static JpsJavaCompilerOptions |
getOptions(Project project,
java.lang.Class<? extends JavacConfiguration> aClass) |
JpsJavaCompilerOptions |
getState() |
void |
loadState(JpsJavaCompilerOptions state)
This method is called when new component state is loaded.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeComponent, noStateLoadedpublic JavacConfiguration(Project project)
public JpsJavaCompilerOptions getState()
getState in interface PersistentStateComponent<JpsJavaCompilerOptions>null value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializerpublic void loadState(JpsJavaCompilerOptions state)
PersistentStateComponentState object should be used directly, defensive copying is not required.
loadState in interface PersistentStateComponent<JpsJavaCompilerOptions>state - loaded component stateXmlSerializerUtil.copyBean(Object, Object)public static JpsJavaCompilerOptions getOptions(Project project, java.lang.Class<? extends JavacConfiguration> aClass)