fix: constructor of generated objects should be public

This commit is contained in:
zaaarf 2023-03-27 20:44:36 +02:00
parent fcd0cef951
commit 7ac0f5f700
No known key found for this signature in database
GPG key ID: 82240E075E31FA4C

View file

@ -212,6 +212,7 @@ public class LilleroProcessor extends AbstractProcessor {
//initialize the constructor builder //initialize the constructor builder
MethodSpec.Builder constructorBuilder = MethodSpec.constructorBuilder(); MethodSpec.Builder constructorBuilder = MethodSpec.constructorBuilder();
constructorBuilder.addModifiers(Modifier.PUBLIC);
List<VariableElement> methodFinders = new ArrayList<>(); List<VariableElement> methodFinders = new ArrayList<>();