typescript-generator
typescript-generator copied to clipboard
add retention policy check to optional annotations
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.