| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private Map | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static ImportManager. | |
| public static ImportManager | |
| public String | |
| public String | |
| public String | |
| private static String | getType(ImportManager.
|
| private static String | |
| private static List |
| directImports | back to summary |
|---|---|
| private List<String> directImports | |
| imports | back to summary |
|---|---|
| private Map<ImportManager. | |
| packageNameOfClass | back to summary |
|---|---|
| private final String packageNameOfClass | |
| ImportManager | back to summary |
|---|---|
| private ImportManager(String packageNameOfClass, List<String> directImports) | |
| createImport | back to summary |
|---|---|
| private static ImportManager. | |
| forClass | back to summary |
|---|---|
| public static ImportManager forClass(ClassModel classModel, String... directImports) | |
| getImports | back to summary |
|---|---|
| public String getImports() | |
| getType | back to summary |
|---|---|
| public String getType(ClassModel classModel) | |
| getType | back to summary |
|---|---|
| public String getType(String packageName, String className) | |
| getType | back to summary |
|---|---|
| private static String getType(ImportManager. | |
| optimizeImports | back to summary |
|---|---|
| private static String optimizeImports(Collection<ImportManager. | |
| reverseSort | back to summary |
|---|---|
| private static List | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| pack-priv String | |
| public String |
| className | back to summary |
|---|---|
| private final String className | |
| packageName | back to summary |
|---|---|
| private final String packageName | |
| FQN | back to summary |
|---|---|
| pack-priv FQN(String packageName, String className) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| qualifiedName | back to summary |
|---|---|
| pack-priv String qualifiedName() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public String |
| name | back to summary |
|---|---|
| pack-priv final String name | |
| type | back to summary |
|---|---|
| pack-priv final String type | |
| Import | back to summary |
|---|---|
| pack-priv Import(String name, String type) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |