Commit Graph

58 Commits

Author SHA1 Message Date
Anna Kozlova
888b1151d6 java: report error if repeatable annotation has Documented/Inherited annotation and its container doesn't (IDEA-256253)
GitOrigin-RevId: d6dab9a587b2e4d7663a5b0c44ecf65bba9113bd
2020-12-30 19:38:19 +00:00
Anna Kozlova
576590686d java: fix repeatable annotations check when non-annotation type is passed as value (IDEA-250935)
GitOrigin-RevId: 7f819cfa97ac8fe49e58e3dc2e4c13e42f724963
2020-09-21 13:36:34 +00:00
Anna Kozlova
212ef2f70e java: type_use annotation applicability to var type checked (IDEA-248364)
GitOrigin-RevId: 2c3b97c897e0f995137658c3372d1899c7dc39fe
2020-08-17 20:55:24 +00:00
Anna Kozlova
cc9907aee7 java: allow comments before receiver parameter (IDEA-245721)
GitOrigin-RevId: 98f193dcd8836321639b647693156315b4bced83
2020-07-15 07:27:51 +00:00
Anna Kozlova
947bb691fe annotation method: detect default value based on "default" keyword (IDEA-237774)
GitOrigin-RevId: 64be4b28fc7fe9e79aae58ddba140bd65d56c2ef
2020-04-16 19:41:33 +00:00
Rustam Vishnyakov
123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00
Egor Zhdan
c1813cfb52 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-16 04:02:08 +03:00
Anna Kozlova
91f7445298 constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
2019-06-13 03:15:49 +03:00
Egor Zhdan
39d2d77155 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-13 03:14:35 +03:00
Aleksey Rostovskiy
185284cee6 get rid of intellij.build.toolbox.litegen parameter and use BuildOptions.TOOLBOX_LITE_GEN_STEP to skip it instead
GitOrigin-RevId: 9aac8ee4ed1ebf2a29de18a238825fafb1ab88f9
2019-05-27 15:08:08 +03:00
Alexandr Suhinin
9215f4240b [duplicates] enable duplicates analysis in PyCharm/WebStorm/PhpStorm/RubyMine
GitOrigin-RevId: 1545b79fdca4888f4b94f47f22703fd37694fa7a
2019-05-27 15:07:30 +03:00
Anna Kozlova
5d96e5d9f0 annotation highlighting: skip unresolved attribute highlighting for non-annotation types
GitOrigin-RevId: 4b705957a414cc90f2b952595f6d6dfbb880f876
2019-05-23 22:05:32 +03:00
Roman Shevchenko
35ca6e9efd [java] validates container annotation "concreteness" (IDEA-201354) 2018-11-09 22:09:35 +01:00
Roman Shevchenko
547f2b3967 [java] skips reference check for array annotations (IDEA-195612) 2018-07-16 18:13:38 +02:00
Roman Shevchenko
9f05380c48 [java] merges language level name and JDK version description 2018-01-18 13:54:45 +01:00
Roman Shevchenko
c87ce5bb69 [java] correct receiver parameter type check (IDEA-175906) 2017-07-17 15:10:44 +02:00
Roman Shevchenko
80bd33fc56 [java] type annotation highlighting on type parameters (IDEA-174317) 2017-06-30 14:38:56 +02:00
Roman Shevchenko
2d8c4a0e3c [tests] better test for module annotations (IDEA-169410) 2017-03-15 14:32:41 +01:00
Roman Shevchenko
74daf8d522 [java] improves "unsupported language level" message (IDEA-168859) 2017-03-06 11:27:27 +01:00
Roman Shevchenko
13d20c3859 [java] accepts annotations on modules 2017-02-20 11:52:06 +01:00
Anna.Kozlova
a59edc4e4a accessibility check for annotation parameters: treat parameters as they are outside the class (IDEA-165904) 2016-12-27 14:47:58 +01:00
Anna Kozlova
d4e7271498 annotations: check error elements after annotation to rise annotation not expected here instead of some unpredictable warnings (IDEA-160106) 2016-09-15 18:35:33 +03:00
Roman Shevchenko
f2626b9024 [java] fixes receiver highlighting in local classes (IDEA-158752) 2016-07-20 16:30:11 +02:00
Roman Shevchenko
fe7ba298f6 Merge remote-tracking branch 'origin/master' 2015-07-22 18:26:08 +02:00
Roman Shevchenko
f7f0a5c0c4 [java] adds support for Java 9's improved try-with-resources (IDEA-140266)
PSI, parser, highlighting, exception analysis, control flow, completion.
2015-07-22 16:28:39 +02:00
Anna Kozlova
7677f61dc5 invalid annotation type detection based on type element (IDEA-142884) 2015-07-21 18:36:10 +02:00
Roman Shevchenko
83674908b6 IDEA-142416 (fixed parsing of annotated fully-qualified types in assignment statements) 2015-07-09 16:29:04 +03:00
Roman Shevchenko
0888e688fd Cleanup (unneeded test parameters) 2015-07-02 16:06:52 +03:00
Roman Shevchenko
fd0061d246 java: receiver parameter highlighting 2015-07-02 15:29:22 +03:00
Roman Shevchenko
2c738eea52 IDEA-136162 (type annotations in anonymous classes) 2015-02-09 19:23:15 +01:00
Anna Kozlova
d98a3da35a enum attribute values must be a constant (JLS 9.7.1 IDEA-132747) 2014-11-12 19:38:00 +01:00
Anna Kozlova
0bcd4c8491 testdata for IDEA-25949 2014-08-18 21:45:30 +04:00
Anna Kozlova
2a41b7a9c3 annotation type: error for duplicated methods (IDEA-128675) 2014-08-18 14:36:00 +04:00
Roman Shevchenko
322e539fc5 IDEA-127077 (highlighting test) 2014-07-21 16:08:23 +02:00
Roman Shevchenko
cfcc34be5f IDEA-121251 (stray annotation highlighted) 2014-02-28 19:33:48 +01:00
Roman Shevchenko
9495ef2667 IDEA-119396 (be picky about unfinished annotated new array expressions) 2014-02-19 19:31:45 +01:00
Alexey Kudravtsev
ad661d92e4 correct level in highlighting:
highlight element X only when visiting X or its ascendant
2014-02-10 20:03:58 +04:00
Roman Shevchenko
393d831d3a IDEA-117391 (annotation highlighting fixed) 2013-12-02 19:04:42 +01:00
Roman Shevchenko
aec23d1dab IDEA-105110 (check repeatable annotation container applicability) 2013-04-16 16:27:09 +02:00
Roman Shevchenko
8110c941f6 Repeatable annotations highlighting text corrected 2013-04-16 16:27:08 +02:00
anna
f622b3c704 annotation interfaces: highlight methods which override public/protected methods of Object/Annotation (9.6.1. Annotation Type Elements) 2013-04-11 13:23:50 +02:00
anna
42763f9275 IDEA-105101 Java: bad code is green: cyclic annotation element types
(JLS 9.6.1. Annotation Type Elements)
2013-04-11 13:23:48 +02:00
Roman Shevchenko
52c17b2657 Type annotations on C-style arrays are recognized now even better 2013-04-05 22:28:42 +02:00
Roman Shevchenko
3d75dc6664 IDEA-96664 (highlighting of Java 8 repeating annotations) 2013-04-04 19:38:46 +02:00
Roman Shevchenko
79f04f5709 IDEA-96664 (highlighting of Java 8 repeating annotations) 2013-04-03 16:19:42 +02:00
Roman Shevchenko
8bb33ccdca Type annotations on C-style arrays are recognized now 2013-03-31 23:13:14 +02:00
Roman Shevchenko
29f20c9421 Correct highlighting of annotations in new expressions 2013-03-13 13:26:19 +01:00
Roman Shevchenko
9daf85536c Parse annotations in new expressions 2013-03-13 11:15:41 +01:00
Roman Shevchenko
2ab88505d2 Annotation applicability highlighting reworked 2013-03-13 10:23:19 +01:00
Roman Shevchenko
36cc6d348a IDEA-97100 (annotation highlighting in default values) 2012-12-11 13:37:29 +01:00