diff options
author | zaaarf <zaaarf@proton.me> | 2023-03-27 20:44:36 +0200 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-03-27 20:44:36 +0200 |
commit | 7ac0f5f7000cc51a20a6d5734f63fa7d1415914f (patch) | |
tree | 2e6391100fe654ecafec41c58ff449e38fe9e562 | |
parent | fcd0cef9513e5d7665ec4ffa4b1d87379f0e8910 (diff) |
fix: constructor of generated objects should be public
-rw-r--r-- | src/main/java/ftbsc/lll/processor/LilleroProcessor.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/lll/processor/LilleroProcessor.java b/src/main/java/ftbsc/lll/processor/LilleroProcessor.java index 46822c4..39e41a6 100644 --- a/src/main/java/ftbsc/lll/processor/LilleroProcessor.java +++ b/src/main/java/ftbsc/lll/processor/LilleroProcessor.java @@ -212,6 +212,7 @@ public class LilleroProcessor extends AbstractProcessor { //initialize the constructor builder MethodSpec.Builder constructorBuilder = MethodSpec.constructorBuilder(); + constructorBuilder.addModifiers(Modifier.PUBLIC); List<VariableElement> methodFinders = new ArrayList<>(); |