mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-22 10:04:51 +01:00
fix: include inner names in FQN
This commit is contained in:
parent
7ac0f5f700
commit
0213e930b6
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue