public final class PackageElement extends java.lang.Object implements Queryable, RootsProvider
Queryable.Contributor, Queryable.PrintInfo, Queryable.Util
Modifier and Type | Field and Description |
---|---|
static DataKey<PackageElement> |
DATA_KEY |
EMPTY_ROOTS
Constructor and Description |
---|
PackageElement(Module module,
PsiPackage element,
boolean isLibraryElement) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Module |
getModule() |
PsiPackage |
getPackage() |
java.util.Collection<VirtualFile> |
getRoots() |
int |
hashCode() |
boolean |
isLibraryElement() |
void |
putInfo(java.util.Map<java.lang.String,java.lang.String> info) |
public static final DataKey<PackageElement> DATA_KEY
public PackageElement(Module module, PsiPackage element, boolean isLibraryElement)
public Module getModule()
public PsiPackage getPackage()
public java.util.Collection<VirtualFile> getRoots()
getRoots
in interface RootsProvider
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isLibraryElement()