Cleanup (formatting; typos)
This commit is contained in:
@@ -15,7 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
package org.jetbrains.java.decompiler.main.collectors;
|
package org.jetbrains.java.decompiler.main.collectors;
|
||||||
|
|
||||||
import org.jetbrains.java.decompiler.main.ClassesProcessor;
|
|
||||||
import org.jetbrains.java.decompiler.main.ClassesProcessor.ClassNode;
|
import org.jetbrains.java.decompiler.main.ClassesProcessor.ClassNode;
|
||||||
import org.jetbrains.java.decompiler.main.DecompilerContext;
|
import org.jetbrains.java.decompiler.main.DecompilerContext;
|
||||||
import org.jetbrains.java.decompiler.main.TextBuffer;
|
import org.jetbrains.java.decompiler.main.TextBuffer;
|
||||||
@@ -46,13 +45,12 @@ public class ImportCollector {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getShortName(String fullname) {
|
public String getShortName(String fullName) {
|
||||||
return getShortName(fullname, true);
|
return getShortName(fullName, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getShortName(String fullName, boolean imported) {
|
public String getShortName(String fullName, boolean imported) {
|
||||||
ClassesProcessor clProc = DecompilerContext.getClassProcessor();
|
ClassNode node = DecompilerContext.getClassProcessor().getMapRootClasses().get(fullName.replace('.', '/'));
|
||||||
ClassNode node = clProc.getMapRootClasses().get(fullName.replace('.', '/'));
|
|
||||||
|
|
||||||
String result = null;
|
String result = null;
|
||||||
if (node != null && node.classStruct.isOwn()) {
|
if (node != null && node.classStruct.isOwn()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user