[ 
https://issues.apache.org/jira/browse/AVRO-3641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17620194#comment-17620194
 ] 

Peter Knuts commented on AVRO-3641:
-----------------------------------

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)

Reply via email to