Commit Graph

6 Commits

Author SHA1 Message Date
Tagir Valeev
2c486b2d0a Improved type annotation support
PsiTypeElementImpl#addAnnotation implemented
AddAnnotationPsiFix, NullableNotNullManager adjusted
Fixes IDEA-232258 "Annotate overridden method parameters @NotNull" erroneously adds notNull to the param, not its type
Fixes IDEA-232565 Intention "Annotate overriding methods as NotNull" doesn't respect "type use"
Also, AddAnnotationPsiFix can be applied in batch now when annotations are not external.

GitOrigin-RevId: 0b652d3b032ed0d1c701beeda102c5e3c841762c
2020-02-12 06:13:13 +00:00
peter
4dc12ddb60 update AnnotateMethodTest data 2017-08-08 16:41:09 +02:00
Dmitry Batkovich
ca93a04a0a simplify AnnotateMethodFix 2017-08-03 15:42:34 +03:00
Alexey Kudravtsev
8037bdbfd1 annotate method if asked even it's (implicitly) inferred as NotNull 2017-06-29 15:55:13 +03:00
Bas Leijdekkers
8ff3af2a35 Simplification of "@NotNull/@Nullable problems" inspection settings 2011-09-09 15:53:55 +02:00
Alexey Kudravtsev
2718da9fc7 more java tests moved to community 2010-06-25 12:46:40 +04:00