public class SkipDefaultValuesSerializationFilters extends SerializationFilterBase
SkipDefaultsSerializationFilter
if state class doesn't implement "equals" (in Kotlin use com.intellij.openapi.components.BaseState
)Constructor and Description |
---|
SkipDefaultValuesSerializationFilters()
Deprecated.
Use
com.intellij.configurationStore.XmlSerializer#serialize(Object) instead of creating own filter. |
SkipDefaultValuesSerializationFilters(java.lang.Object... defaultBeans) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
accepts(Accessor accessor,
java.lang.Object bean,
java.lang.Object beanValue) |
protected void |
configure(java.lang.Object o)
Override to put your own default object configuration
|
java.lang.Object |
getDefaultValue(java.lang.Class<?> c) |
accepts
@Deprecated public SkipDefaultValuesSerializationFilters()
com.intellij.configurationStore.XmlSerializer#serialize(Object)
instead of creating own filter.public SkipDefaultValuesSerializationFilters(java.lang.Object... defaultBeans)
protected boolean accepts(Accessor accessor, java.lang.Object bean, java.lang.Object beanValue)
accepts
in class SerializationFilterBase
public java.lang.Object getDefaultValue(java.lang.Class<?> c)
protected void configure(java.lang.Object o)