Commit Graph

132 Commits

Author SHA1 Message Date
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
Anna Kozlova a2c55a54eb unhandled exceptions when resolved to the first of multiple interfaces inherited (IDEA-109216) 2013-06-21 15:20:13 +04:00
Anna Kozlova 292524fd95 no enclosing instance of type inside super/this call 2013-06-14 13:30:15 +04:00
Anna Kozlova 519b18122e allow refs to inner classes inside anonymous classes in super/this calls (IDEA-108920) 2013-06-13 21:22:04 +04:00
Anna Kozlova 8741f3f1d6 non-static members access from implicitly static context fixed (IDEA-108285) 2013-06-03 22:25:26 +04:00
anna 02e4c3acdc check that new expression reference resolves to class (IDEA-36082; IDEA-72934) 2013-05-07 10:33:57 +02:00
Roman Shevchenko b0711041bb IDEA-19619 (highlight invalid for init statements) 2013-05-03 18:04:42 +02:00
anna f1f7357ee0 ignore implicit this reference before super call for java 7 2013-05-03 17:21:32 +02:00
anna ee964486c9 check if current class doesn't have access to siblings (IDEA-19200) 2013-05-03 17:21:31 +02:00
anna f4e45c7219 testdata for IDEA-71645 2013-05-03 13:30:02 +02:00
anna 8d301f4f3e testdata for IDEA-60875 2013-05-03 13:30:01 +02:00
Roman Shevchenko e1703251d9 IDEA-57270 (highlight C-style void arrays) 2013-05-02 18:40:04 +02:00
anna fb7363e172 testdata for IDEA-67829 2013-05-02 14:53:00 +02:00
anna b421d595a9 override clone specifics (IDEA-67754) 2013-04-30 18:12:20 +02:00
Roman Shevchenko 44e359d268 IDEA-106119 (more rigorous check for "this" qualifier) 2013-04-24 17:01:31 +02:00