AS3 direct editation - indexing ABCs for faster access - classes and properties, better(?) and faster resolving

Hiding extends Object
This commit is contained in:
Jindra Petřík
2015-11-06 19:41:02 +01:00
parent 5e077eb024
commit 2b9c1eb365
25 changed files with 1101 additions and 606 deletions

View File

@@ -214,7 +214,7 @@ public class IdentifiersDeobfuscation {
String name = nChain.getLast();
boolean changed = false;
if ((pkg != null) && (!pkg.isEmpty())) {
if ((pkg != null) && (!pkg.isEmpty()) && (!pkg.isTopLevel())) {
DottedChain changedPkg = deobfuscatePackage(as3, pkg, namesMap, renameType, selected);
if (changedPkg != null) {
changed = true;
@@ -344,7 +344,7 @@ public class IdentifiersDeobfuscation {
* @return
*/
public static String printIdentifier(boolean as3, String s, String... validExceptions) {
if (s.isEmpty()) {
if (s == null || s.isEmpty()) {
return "";
}