mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-22 10:34:51 +01:00
fix: bug in generating descriptors for anonymous class fields
This commit is contained in:
parent
b9e1ae971e
commit
fb984396c6
1 changed files with 4 additions and 1 deletions
|
@ -100,7 +100,10 @@ public class FieldContainer {
|
|||
if(fieldType.getKind() == TypeKind.DECLARED)
|
||||
descriptor = //jank af but this is temporary anyway
|
||||
"L" + new ClassContainer(
|
||||
fieldType.toString(), f.typeInner().split("//$"), env, mapper
|
||||
fieldType.toString(),
|
||||
f.typeInner().equals("") ? null : f.typeInner().split("//$"),
|
||||
env,
|
||||
mapper
|
||||
).fqn.replace('.', '/') + ";";
|
||||
else descriptor = descriptorFromType(fieldType);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue