diff options
-rw-r--r-- | src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java b/src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java index 3ea6a62..7251aa6 100644 --- a/src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java +++ b/src/main/java/ftbsc/lll/processor/tools/containers/ClassContainer.java @@ -54,7 +54,9 @@ public class ClassContainer { throw new TargetNotFoundException("class", fqn); if(innerNames != null) { + StringBuilder newFQN = new StringBuilder(fqn); for(String inner : innerNames) { + newFQN.append("$").append(inner); try { int anonClassCounter = Integer.parseInt(inner); //anonymous classes cannot be validated! @@ -80,8 +82,8 @@ public class ClassContainer { if(elem == null) throw new TargetNotFoundException("class", inner); } - } - this.fqn = fqn; + this.fqn = newFQN.toString(); + } else this.fqn = fqn; this.fqnObf = findClassName(fqn, mapper); this.elem = elem; } |