public class ComplementPackageSet extends PackageSetBase
Constructor and Description |
---|
ComplementPackageSet(PackageSet set) |
Modifier and Type | Method and Description |
---|---|
boolean |
anyMatches(java.util.function.Predicate<? super PackageSet> predicate) |
boolean |
contains(VirtualFile file,
NamedScopesHolder holder) |
boolean |
contains(VirtualFile file,
Project project,
NamedScopesHolder holder) |
PackageSet |
createCopy() |
PackageSet |
getComplementarySet() |
int |
getNodePriority() |
java.lang.String |
getText() |
PackageSet |
map(java.util.function.Function<? super PackageSet,? extends PackageSet> transformation)
Applies given
transformation to all inner PackageSet of this instance and returns the modified instance or this
if no modification in inner PackageSet were made. |
contains, getPsiFile
public ComplementPackageSet(PackageSet set)
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 java.lang.String getText()
public int getNodePriority()
public PackageSet map(java.util.function.Function<? super PackageSet,? extends PackageSet> transformation)
PackageSet
transformation
to all inner PackageSet
of this instance and returns the modified instance or this
if no modification in inner PackageSet
were made.public boolean anyMatches(java.util.function.Predicate<? super PackageSet> predicate)
true
if any inner PackageSet
of this instance matched given predicatepublic PackageSet getComplementarySet()