fix(config-compiler-plugin): fix config reference from category
This commit is contained in:
parent
cd5a4ccbd4
commit
b7743007e6
|
@ -146,7 +146,7 @@ public class ConfigProcessor extends AbstractProcessor2 {
|
|||
code.add("\n.category($S, builder$L -> ", name, i.incrementAndGet());
|
||||
if (isUsable(tweaker)) code.add("$T.tweak(", tweaker);
|
||||
code.add("builder$L", i.get()).indent();
|
||||
for (String s : v.referencedConfigs()) code.add("\n.referencedConfigs($S)", s);
|
||||
for (String s : v.referencedConfigs()) code.add("\n.referenceConfig($S)", s);
|
||||
process(klazz, code, i);
|
||||
code.unindent().add("\n");
|
||||
if (isUsable(tweaker)) code.add(")");
|
||||
|
|
Loading…
Reference in New Issue