Don't introduce @NotNull on Kotlin methods that already have that annotation

This usually can't happen, but delegates pointing at Java appear to be synthesised with this normally-hidden annotation
This commit is contained in:
Chris Smowton
2022-11-30 17:40:41 +00:00
parent c8e2ae8563
commit f5dc5155f9
7 changed files with 40 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
import org.jetbrains.annotations.*;
import zpkg.A;
public class AnnotatedMethods {
public class AnnotatedMethods implements AnnotatedInterface {
public @A @NotNull String notNullAnnotated(@A @NotNull String param) { return param; }