public class UnionPackageSet extends CompoundPackageSet
Constructor and Description |
---|
UnionPackageSet(PackageSet set1,
PackageSet set2)
Deprecated.
use
create(PackageSet...) instead |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(VirtualFile file,
Project project,
NamedScopesHolder holder) |
static PackageSet |
create(PackageSet... sets) |
int |
getNodePriority() |
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. |
anyMatches, contains, createCopy, getSets, getText
contains, getPsiFile
@Deprecated public UnionPackageSet(PackageSet set1, PackageSet set2)
create(PackageSet...)
insteadpublic static PackageSet create(PackageSet... sets)
public boolean contains(VirtualFile file, Project project, NamedScopesHolder holder)
contains
in class PackageSetBase
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.