Commit Graph
146 Commits
Author SHA1 Message Date
Anna.Kozlova 56a3a1ffa4 move operator assignment check for object to javac quirks inspection with fix (IDEA-154209) 2016-04-06 17:15:12 +02:00
Anna.Kozlova d935cfd941 change error message (IDEA-153156) 2016-03-22 19:37:27 +01:00
Anna Kozlova f8e59f5965 not a statement -> declaration not allowed here (IDEA-152090) 2016-02-24 13:12:24 +01:00
Anna Kozlova 930df16f98 inference: propagate variable renames through the call hierarchy; calculate tooltips in tests (IDEA-151948) 2016-02-22 20:05:58 +01:00
Alexey Kudravtsev 86b6ee7f18 folowup to IDEA-149950: changed "package local" to JLS-conformant "package-private" 2016-02-18 13:53:04 +03:00
Alexey Kudravtsev 05de8796ca IDEA-149950 Bad typo in "Declaration access can be weaker" inspection 2016-02-17 14:38:41 +03:00
Rustam Vishnyakov 7144e23b77 Fix test data (default color for class/interface names is black, not undefined) 2016-01-22 18:48:26 +03:00
Anna Kozlova cde4b88ba3 testdata for IDEA-67808 2015-12-07 10:35:33 +01:00
Bas Leijdekkers a20691e9c4 IDEA-26291 (Small error in "variable is assigned to itself" inspection) 2015-12-01 19:11:41 +01:00
Roman Shevchenko a1f7aa76fb [java] highlighting for incorrect first statement in switch (IDEA-148514) 2015-11-30 18:48:32 +01:00
Roman Shevchenko 2c2b27fc5d Cleanup (formatting; typos) 2015-11-30 18:32:01 +01:00
Anna Kozlova e27c654b20 silly assignment: ignore non-trivial casts involving primitives (IDEA-146830) 2015-10-27 19:35:20 +01:00
Alexey Kudravtsev 59e0751e2c cleanup 2015-07-24 16:54:15 +03:00
Alexey Kudravtsev 9e99eabbb6 IDEA-141923 Errors in for-each statement header aren't highlighted if there're errors in its body 2015-06-26 14:42:13 +03:00
Anna Kozlova 6ca09678c2 allow navigation to not accessible fields when they are used inside reference chain 2015-02-17 14:58:59 +01:00
Anna Kozlova 65064ac053 include InterruptedException into mock1.7 testdata fixed 2015-01-22 13:05:05 +01:00
Anna Kozlova cda6746874 highlight static imports according to the color scheme selected (IDEA-133887) 2014-12-30 15:36:37 +01:00
Anna Kozlova 79b5f29665 highlight inherited methods inside anonymous/inner classes (IDEA-134626) 2014-12-29 21:15:12 +01:00
Alexey Kudravtsev c3e8934499 IDEA-133946 Don't highlight private constructor as unused if it is called by dependency injection engine 2014-12-15 14:18:20 +03:00
Anna Kozlova 3ea5b44100 resolve package/class if field is not accessible in fqn method call (IDEA-133812) 2014-12-03 12:53:07 +01:00
Alexey Kudravtsev 18365be5d0 instantiate UnusedDeclarationInspection properly in tests; got rid of setters 2014-11-13 14:13:18 +03:00
Anna Kozlova 2a71679bc4 initialized twice should not make use of computed constants (IDEA-63226) 2014-10-30 18:41:04 +01:00
Anna Kozlova 14f91eb65f final field initialization: class initializers (IDEA-130312) 2014-10-30 18:41:03 +01:00
Anna Kozlova d0e6c61fde disable short circuits for unreachable statements detection (IDEA-58305; IDEA-70953; IDEA-70948) 2014-10-30 11:50:05 +01:00
Alexey Kudravtsev a03297df6b do not highlight method unused if referenced via overridden 2014-09-23 16:00:58 +04:00
Anna Kozlova 724425f20f allow access inner class object from super expression (IDEA-129795) 2014-09-12 21:36:56 +04:00
Bas Leijdekkers e65ecdae08 EA-59392 (NPE: ControlFlowAnalyzer.visitPostfixExpression) 2014-08-14 22:38:57 +02:00
Anna Kozlova 53cf6f6905 wording: warn about self references instead of "forward" ones 2014-07-02 12:26:17 +02:00
Anna Kozlova 35005bc88e IDEA-125947 not initialized final field should not be raised on any refs from inner classes 2014-06-05 16:05:47 +04:00
Roman Shevchenko b8be4e29d9 IDEA-125805 (language level increase quickfix for switch on enum/string) 2014-06-02 20:14:07 +04:00
Anna Kozlova a6db438af6 testdata fixed 2014-04-29 11:18:29 +02:00
Alexey Kudravtsev c7b78f76a2 IDEA-120784 "Class is public should be declared in a file named <Classname>.java" for inner interface 2014-02-18 13:55:52 +04: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
Alexey Kudravtsev 078dbd99ec IDEA-119180 Groovy .gdsl editing support is broken in Intellij IDEA 13 2014-02-04 14:24:28 +04:00
Anna Kozlova 6320d5f50c do not replace checked exception with unchecked (IDEA-119345) 2014-01-21 18:22:44 +04:00
anna 17fbe75287 not initialized problem: fix static fields checks 2013-11-04 11:06:17 +01:00
anna 14b0f287d8 testdata for IDEA-18343 2013-10-23 13:43:48 +02:00
anna 18ee2d80f1 forbid references on final fields from another ones (IDEA-100237) 2013-10-22 21:02:23 +02:00
anna 7bf6e776a3 warn about usages of final fields in another fields even if they appear after constructor where it would be definitely assigned (IDEA-114280) 2013-10-02 19:01:46 +02:00
Roman Shevchenko 39e5e2087f IDEA-114169 (false positive for non-intersecting throwers) 2013-09-30 14:52:21 +02:00
peter 85ca653ed0 do we have java.applet in mockjdk now? 2013-09-18 20:40:51 +02:00
Roman Shevchenko 20150830af java: highlighting for statics in anonymous classes 2013-09-16 13:02:14 +04:00
Roman Shevchenko 2c8eb0da10 Cleanup (formatting) 2013-09-16 13:02:13 +04:00
Bas Leijdekkers e16694eabf IDEA-63698 (Inconvertible type (assign double to Integer) not highlighted as error) 2013-09-14 22:13:13 +02:00
Bas Leijdekkers 8d7f95a137 IDEA-26350 (Bad Java code is green: variable might not have been initialized) 2013-09-11 16:18:45 +02:00
Bas Leijdekkers ba3c923024 IDEA-93530 (bad code green: cannot assign a value to final variable) 2013-09-10 23:09:52 +02:00
Bas Leijdekkers 816cc8a140 IDEA-93515 (Good code red: variable might not have been initialized) 2013-09-10 20:08:37 +02:00
Bas Leijdekkers 2fa6ff6b69 test for IDEA-53184 2013-09-09 17:10:59 +02:00
anna 650fdb9ff1 forbid access to package local statics via inheritance from another package (IDEA-66493) 2013-07-17 16:26:18 +02:00
Anna Kozlova d397653008 unhandled exceptions: fix retained 2013-06-24 21:16:08 +04:00