public class ReplaceOptions extends java.lang.Object implements JDOMExternalizable
Constructor and Description |
---|
ReplaceOptions() |
ReplaceOptions(MatchOptions matchOptions) |
Modifier and Type | Method and Description |
---|---|
ReplacementVariableDefinition |
addNewVariableDefinition(java.lang.String name) |
void |
addVariableDefinition(ReplacementVariableDefinition definition) |
void |
clearVariableDefinitions() |
ReplaceOptions |
copy() |
boolean |
equals(java.lang.Object o) |
MatchOptions |
getMatchOptions() |
java.lang.String |
getReplacement() |
ReplacementVariableDefinition |
getVariableDefinition(java.lang.String name) |
java.util.Collection<ReplacementVariableDefinition> |
getVariableDefinitions() |
int |
hashCode() |
boolean |
isToReformatAccordingToStyle() |
boolean |
isToShortenFQN() |
boolean |
isToUseStaticImport() |
void |
readExternal(Element element) |
void |
removeUnusedVariables() |
void |
setReplacement(java.lang.String replacement) |
void |
setToReformatAccordingToStyle(boolean reformatAccordingToStyle) |
void |
setToShortenFQN(boolean shortedFQN) |
void |
setToUseStaticImport(boolean useStaticImport) |
void |
writeExternal(Element element) |
public ReplaceOptions()
public ReplaceOptions(MatchOptions matchOptions)
public ReplaceOptions copy()
public java.lang.String getReplacement()
public void setReplacement(java.lang.String replacement)
public boolean isToShortenFQN()
public void setToShortenFQN(boolean shortedFQN)
public boolean isToReformatAccordingToStyle()
public MatchOptions getMatchOptions()
public void setToReformatAccordingToStyle(boolean reformatAccordingToStyle)
public boolean isToUseStaticImport()
public void setToUseStaticImport(boolean useStaticImport)
public void removeUnusedVariables()
public void readExternal(Element element)
readExternal
in interface JDOMExternalizable
public void writeExternal(Element element)
writeExternal
in interface JDOMExternalizable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ReplacementVariableDefinition getVariableDefinition(java.lang.String name)
public void addVariableDefinition(ReplacementVariableDefinition definition)
public ReplacementVariableDefinition addNewVariableDefinition(java.lang.String name)
public java.util.Collection<ReplacementVariableDefinition> getVariableDefinitions()
public void clearVariableDefinitions()