mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-22 15:54:48 +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);
|
throw new TargetNotFoundException("class", fqn);
|
||||||
|
|
||||||
if(innerNames != null) {
|
if(innerNames != null) {
|
||||||
|
StringBuilder newFQN = new StringBuilder(fqn);
|
||||||
for(String inner : innerNames) {
|
for(String inner : innerNames) {
|
||||||
|
newFQN.append("$").append(inner);
|
||||||
try {
|
try {
|
||||||
int anonClassCounter = Integer.parseInt(inner);
|
int anonClassCounter = Integer.parseInt(inner);
|
||||||
//anonymous classes cannot be validated!
|
//anonymous classes cannot be validated!
|
||||||
|
@ -80,8 +82,8 @@ public class ClassContainer {
|
||||||
if(elem == null)
|
if(elem == null)
|
||||||
throw new TargetNotFoundException("class", inner);
|
throw new TargetNotFoundException("class", inner);
|
||||||
}
|
}
|
||||||
}
|
this.fqn = newFQN.toString();
|
||||||
this.fqn = fqn;
|
} else this.fqn = fqn;
|
||||||
this.fqnObf = findClassName(fqn, mapper);
|
this.fqnObf = findClassName(fqn, mapper);
|
||||||
this.elem = elem;
|
this.elem = elem;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue