Bugfix
This commit is contained in:
parent
539a9d7fd5
commit
8f8242c0f3
@ -174,7 +174,7 @@ public class GenCurrentVersion extends ClassGenerator {
|
||||
private void generateGetClass(ComputedVersion version, Builder classBuilder) {
|
||||
var methodBuilder = MethodSpec.methodBuilder("getClass");
|
||||
|
||||
methodBuilder.addModifiers(Modifier.PUBLIC);
|
||||
methodBuilder.addModifiers(Modifier.PUBLIC, Modifier.STATIC);
|
||||
|
||||
var baseTypeClassName = ClassName.get(dataModel.getRootPackage(basePackageName), "BaseType");
|
||||
methodBuilder.addParameter(baseTypeClassName, "type");
|
||||
|
Loading…
Reference in New Issue
Block a user