public class PackageEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static PackageEntry |
ALL_OTHER_IMPORTS_ENTRY |
static PackageEntry |
ALL_OTHER_STATIC_IMPORTS_ENTRY |
static PackageEntry |
BLANK_LINE_ENTRY |
Constructor and Description |
---|
PackageEntry(boolean isStatic,
java.lang.String packageName,
boolean withSubpackages) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPackageName() |
int |
hashCode() |
boolean |
isBetterMatchForPackageThan(PackageEntry entry,
java.lang.String packageName,
boolean isStatic) |
boolean |
isSpecial() |
boolean |
isStatic() |
boolean |
isWithSubpackages() |
boolean |
matchesPackageName(java.lang.String packageName) |
java.lang.String |
toString() |
public static final PackageEntry BLANK_LINE_ENTRY
public static final PackageEntry ALL_OTHER_IMPORTS_ENTRY
public static final PackageEntry ALL_OTHER_STATIC_IMPORTS_ENTRY
public PackageEntry(boolean isStatic, java.lang.String packageName, boolean withSubpackages)
public java.lang.String getPackageName()
public boolean isWithSubpackages()
public boolean isStatic()
public boolean matchesPackageName(java.lang.String packageName)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isSpecial()
public boolean isBetterMatchForPackageThan(PackageEntry entry, java.lang.String packageName, boolean isStatic)
public java.lang.String toString()
toString
in class java.lang.Object