public interface ArrangementSettingsSerializer
arrangement settings
(de)serialization mechanism.
Implementations of this interface are expected to be thread-safe.Modifier and Type | Method and Description |
---|---|
ArrangementSettings |
deserialize(Element element)
Allows to provide custom settings deserialization logic.
|
void |
serialize(ArrangementSettings settings,
Element holder)
Allows to provide custom settings serialization logic.
|
ArrangementSettings deserialize(Element element)
serialize(ArrangementSettings, Element)
.
Note: it's save to return null
if current rearranger doesn't use custom settings (settings over those
located at the 'intellij.platform.lang'
/'intellij.platform.lang.impl'
modules).element
- serialized settings holdervoid serialize(ArrangementSettings settings, Element holder)
deserialize(Element)
.
Note: it's save to return null
if current rearranger doesn't use custom settings (settings over those
located at the 'intellij.platform.lang'
/'intellij.platform.lang.impl'
modules).settings
- settings to serializeholder
- element to hold serialized settings