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) {
|
private TypeName getJTypeNameGenericOfVersion(ComputedVersion version, String basePackageName) {
|
||||||
return ParameterizedTypeName.get(ClassName.get(TypedNullable.class),
|
return ParameterizedTypeName.get(ClassName.get(TypedNullable.class), this.child().getJTypeName(basePackageName));
|
||||||
ClassName.get(version.getDataPackage(basePackageName), baseType));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -4,6 +4,8 @@ module it.cavallium.datagen {
|
|||||||
exports it.cavallium.stream;
|
exports it.cavallium.stream;
|
||||||
exports it.cavallium.buffer;
|
exports it.cavallium.buffer;
|
||||||
|
|
||||||
|
opens it.cavallium.buffer;
|
||||||
|
|
||||||
requires org.jetbrains.annotations;
|
requires org.jetbrains.annotations;
|
||||||
requires it.unimi.dsi.fastutil;
|
requires it.unimi.dsi.fastutil;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user