public class MatchOptions extends java.lang.Object implements JDOMExternalizable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INSTANCE_MODIFIER_NAME |
static java.lang.String |
MODIFIER_ANNOTATION_NAME |
Constructor and Description |
---|
MatchOptions() |
public static final java.lang.String INSTANCE_MODIFIER_NAME
public static final java.lang.String MODIFIER_ANNOTATION_NAME
public MatchOptions copy()
public void initScope(Project project)
public void addVariableConstraint(MatchVariableConstraint constraint)
public MatchVariableConstraint addNewVariableConstraint(java.lang.String name)
public java.util.Set<java.lang.String> getUsedVariableNames()
public void removeUnusedVariables()
public MatchVariableConstraint getVariableConstraint(java.lang.String name)
public java.util.Set<java.lang.String> getVariableConstraintNames()
public void setCaseSensitiveMatch(boolean caseSensitiveMatch)
public boolean isCaseSensitiveMatch()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isRecursiveSearch()
public void setRecursiveSearch(boolean recursiveSearch)
public boolean isLooseMatching()
public void setLooseMatching(boolean looseMatching)
public void setSearchPattern(java.lang.String text)
public java.lang.String getSearchPattern()
public void fillSearchCriteria(java.lang.String criteria)
public SearchScope getScope()
public void setScope(SearchScope scope)
public void writeExternal(Element element)
writeExternal
in interface JDOMExternalizable
public void readExternal(Element element)
readExternal
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 void setFileType(LanguageFileType fileType)
public LanguageFileType getFileType()
public Language getDialect()
public void setDialect(Language dialect)
public PatternContext getPatternContext()
public void setPatternContext(PatternContext patternContext)