[
https://issues.apache.org/jira/browse/AVRO-3641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17620194#comment-17620194
]
Peter Knuts edited comment on AVRO-3641 at 10/19/22 10:57 AM:
--------------------------------------------------------------
More info available here:
[https://www.jetbrains.com/help/idea/nullable-and-notnull-annotations.html]
When using the generated code in Kotlin, it will automatically enable compile
time safety for nullable fields.
was (Author: JIRAUSER297007):
More info available here:
[https://www.jetbrains.com/help/idea/nullable-and-notnull-annotations.html]
When using the generated code for Kotlin, it will automatically enable compile
time safety for nullable fields.
> Add support for Nullable and NotNull annotations for SpecificRecords
> --------------------------------------------------------------------
>
> Key: AVRO-3641
> URL: https://issues.apache.org/jira/browse/AVRO-3641
> Project: Apache Avro
> Issue Type: New Feature
> Components: java
> Reporter: Peter Knuts
> Priority: Major
>
> Update the Java SpecificCompiler to add support for jetbrains {{@Nullable}}
> and {{@NotNull}} annotations to getters, setters, builders and all-arg
> constructor. This will provide compile time safety for nullability when used.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)