#996 "Go to document class" does nothing: fixed

This commit is contained in:
honfika@gmail.com
2015-07-22 09:59:22 +02:00
parent b12c18651a
commit 1b2488e2ab
2 changed files with 3 additions and 2 deletions

View File

@@ -16,6 +16,7 @@
*/
package com.jpexs.decompiler.flash.abc;
import com.jpexs.decompiler.flash.IdentifiersDeobfuscation;
import com.jpexs.decompiler.graph.DottedChain;
import java.util.Objects;
@@ -36,7 +37,7 @@ public class ClassPath {
@Override
public String toString() {
return packageStr.isEmpty() ? className : packageStr.toPrintableString(true) + "." + className;
return packageStr.isEmpty() ? className : packageStr.toPrintableString(true) + "." + IdentifiersDeobfuscation.printIdentifier(true, className);
}
@Override

View File

@@ -74,7 +74,7 @@ public class ScriptInfo {
if ((ns.kind == Namespace.KIND_PACKAGE_INTERNAL)
|| (ns.kind == Namespace.KIND_PACKAGE)) {
DottedChain packageName = ns.getName(abc.constants); // assume not null package
String objectName = name.getName(abc.constants, null, false);
String objectName = name.getName(abc.constants, null, true);
List<Integer> traitIndices = new ArrayList<>();
traitIndices.add(j);