Commit Graph

11 Commits

Author SHA1 Message Date
Bas Leijdekkers
9addc5eaf7 java: include parentheses () in text when referring to methods
GitOrigin-RevId: 1cfc8afb26b5db175d865f6bbdc752356040d8bb
2022-08-22 17:58:06 +00:00
Bart van Helvert
2a86552363 [java-inspections] Add quotes to annotations in inspection messages
GitOrigin-RevId: a2d102bb75c6f0f213cfe79928909f8501be6ca7
2022-08-04 13:39:06 +00:00
Tagir Valeev
9c6aeba5b4 [java] More tests for preview; minor fixes
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
2022-07-22 11:54:00 +00:00
Nikolay Chashnikov
9c66641799 [java] remove redundant import when "Remove annotation" quick fix is applied (IDEA-288488)
GitOrigin-RevId: 562cf18eafa636a761c75ae3e9630bdab3eff760
2022-02-11 09:25:51 +00:00
Tagir Valeev
32442ebe48 [java-inspections] IDEA-288528 Add a quick-fix to correct typeuse nullability annotation
GitOrigin-RevId: ac4d271bc6e43306532d201e74fcf6e9f7b2e6ae
2022-02-11 08:30:20 +00:00
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