Fix wrong nullable generic types
This commit is contained in:
parent
d9978d572f
commit
981dc1efa0
@ -81,8 +81,7 @@ public final class ComputedTypeNullableFixed implements ComputedTypeNullable {
|
||||
}
|
||||
|
||||
private TypeName getJTypeNameGenericOfVersion(ComputedVersion version, String basePackageName) {
|
||||
return ParameterizedTypeName.get(ClassName.get(TypedNullable.class),
|
||||
ClassName.get(version.getDataPackage(basePackageName), baseType));
|
||||
return ParameterizedTypeName.get(ClassName.get(TypedNullable.class), this.child().getJTypeName(basePackageName));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -4,6 +4,8 @@ module it.cavallium.datagen {
|
||||
exports it.cavallium.stream;
|
||||
exports it.cavallium.buffer;
|
||||
|
||||
opens it.cavallium.buffer;
|
||||
|
||||
requires org.jetbrains.annotations;
|
||||
requires it.unimi.dsi.fastutil;
|
||||
}
|
Loading…
Reference in New Issue
Block a user