public class FilePatternPackageSet extends PatternBasedPackageSet
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SCOPE_FILE |
myModuleGroupPattern, myModulePattern, myModulePatternText
Constructor and Description |
---|
FilePatternPackageSet(java.lang.String modulePattern,
java.lang.String filePattern) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(VirtualFile file,
NamedScopesHolder holder) |
boolean |
contains(VirtualFile file,
Project project,
NamedScopesHolder holder) |
PackageSet |
createCopy() |
static java.lang.String |
getLibRelativePath(VirtualFile virtualFile,
ProjectFileIndex index) |
int |
getNodePriority() |
java.lang.String |
getPattern() |
static java.lang.String |
getRelativePath(VirtualFile virtualFile,
ProjectFileIndex index,
boolean useFQName,
VirtualFile projectBaseDir) |
java.lang.String |
getText() |
boolean |
isOn(java.lang.String oldQName) |
PatternBasedPackageSet |
updateModulePattern(java.lang.String oldName,
java.lang.String newName) |
PatternBasedPackageSet |
updatePattern(java.lang.String oldName,
java.lang.String newName) |
getModulePattern, matchesModule
contains, getPsiFile
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
anyMatches, map
public static final java.lang.String SCOPE_FILE
public FilePatternPackageSet(java.lang.String modulePattern, java.lang.String filePattern)
public boolean contains(VirtualFile file, NamedScopesHolder holder)
contains
in class PackageSetBase
public boolean contains(VirtualFile file, Project project, NamedScopesHolder holder)
contains
in class PackageSetBase
public PackageSet createCopy()
public int getNodePriority()
public java.lang.String getText()
public java.lang.String getPattern()
getPattern
in class PatternBasedPackageSet
public boolean isOn(java.lang.String oldQName)
isOn
in class PatternBasedPackageSet
public PatternBasedPackageSet updatePattern(java.lang.String oldName, java.lang.String newName)
updatePattern
in class PatternBasedPackageSet
public PatternBasedPackageSet updateModulePattern(java.lang.String oldName, java.lang.String newName)
updateModulePattern
in class PatternBasedPackageSet
public static java.lang.String getRelativePath(VirtualFile virtualFile, ProjectFileIndex index, boolean useFQName, VirtualFile projectBaseDir)
public static java.lang.String getLibRelativePath(VirtualFile virtualFile, ProjectFileIndex index)