typescript-generator icon indicating copy to clipboard operation
typescript-generator copied to clipboard

add retention policy check to optional annotations

Open serv-inc opened this issue 2 years ago • 0 comments

Thanks for the typescript-generator. This is a small PR to check if all optional annotations are usable. It might be extended to the other annotation types.

Using e.g. org.jetbrains.annotation.nullable fails silently, as it has RetentionPolicy.class. This check fails if an annotation with this retention policy is used for optional annotations.

serv-inc avatar May 25 '22 07:05 serv-inc