public class DuplocatorSettings extends java.lang.Object implements PersistentStateComponent<DuplocatorSettings>
Modifier and Type | Field and Description |
---|---|
boolean |
CHECK_VALIDITY |
int |
DISCARD_COST |
boolean |
DISTINGUISH_FIELDS |
boolean |
DISTINGUISH_LITERALS |
boolean |
DISTINGUISH_METHODS |
boolean |
DISTINGUISH_TYPES |
boolean |
DISTINGUISH_VARIABLES |
java.lang.String |
LAST_SELECTED_LANGUAGE |
int |
LOWER_BOUND |
java.util.Set<java.lang.String> |
SELECTED_PROFILES |
Constructor and Description |
---|
DuplocatorSettings() |
Modifier and Type | Method and Description |
---|---|
static DuplocatorSettings |
getInstance() |
DuplocatorSettings |
getState() |
void |
loadState(DuplocatorSettings object)
This method is called when new component state is loaded.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public boolean DISTINGUISH_VARIABLES
public boolean DISTINGUISH_FIELDS
public boolean DISTINGUISH_METHODS
public boolean DISTINGUISH_TYPES
public boolean DISTINGUISH_LITERALS
public boolean CHECK_VALIDITY
public int LOWER_BOUND
public int DISCARD_COST
public java.util.Set<java.lang.String> SELECTED_PROFILES
public java.lang.String LAST_SELECTED_LANGUAGE
public static DuplocatorSettings getInstance()
public DuplocatorSettings getState()
getState
in interface PersistentStateComponent<DuplocatorSettings>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(DuplocatorSettings object)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<DuplocatorSettings>
object
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)