public class JavaProjectCodeInsightSettings extends java.lang.Object implements PersistentStateComponent<JavaProjectCodeInsightSettings>
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.String> |
excludedNames |
Constructor and Description |
---|
JavaProjectCodeInsightSettings() |
Modifier and Type | Method and Description |
---|---|
static JavaProjectCodeInsightSettings |
getSettings(Project project) |
JavaProjectCodeInsightSettings |
getState() |
boolean |
isExcluded(java.lang.String name) |
void |
loadState(JavaProjectCodeInsightSettings state)
This method is called when new component state is loaded.
|
static void |
setExcludedNames(Project project,
Disposable parentDisposable,
java.lang.String... excludes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public static JavaProjectCodeInsightSettings getSettings(Project project)
public boolean isExcluded(java.lang.String name)
public JavaProjectCodeInsightSettings getState()
getState
in interface PersistentStateComponent<JavaProjectCodeInsightSettings>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(JavaProjectCodeInsightSettings state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<JavaProjectCodeInsightSettings>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public static void setExcludedNames(Project project, Disposable parentDisposable, java.lang.String... excludes)