public class JavaCodeFoldingSettingsImpl extends JavaCodeFoldingSettingsBase implements PersistentStateComponent<JavaCodeFoldingSettingsImpl>
Constructor and Description |
---|
JavaCodeFoldingSettingsImpl() |
Modifier and Type | Method and Description |
---|---|
JavaCodeFoldingSettingsImpl |
getState() |
void |
loadState(JavaCodeFoldingSettingsImpl state)
This method is called when new component state is loaded.
|
isCollapseAccessors, isCollapseAnnotations, isCollapseAnonymousClasses, isCollapseConstructorGenericParameters, isCollapseEndOfLineComments, isCollapseFileHeader, isCollapseI18nMessages, isCollapseImports, isCollapseInnerClasses, isCollapseJavadocs, isCollapseLambdas, isCollapseMethods, isCollapseMultilineComments, isCollapseOneLineMethods, isCollapseSuppressWarnings, isReplaceVarWithInferredType, setCollapseAccessors, setCollapseAnnotations, setCollapseAnonymousClasses, setCollapseConstructorGenericParameters, setCollapseEndOfLineComments, setCollapseFileHeader, setCollapseI18nMessages, setCollapseImports, setCollapseInnerClasses, setCollapseJavadocs, setCollapseLambdas, setCollapseMethods, setCollapseMultilineComments, setCollapseOneLineMethods, setCollapseSuppressWarnings, setReplaceVarWithInferredType
getInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public JavaCodeFoldingSettingsImpl getState()
getState
in interface PersistentStateComponent<JavaCodeFoldingSettingsImpl>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(JavaCodeFoldingSettingsImpl state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<JavaCodeFoldingSettingsImpl>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)