Commit Graph
511 Commits
Author SHA1 Message Date
Anna Kozlova 9d5429e77f remove variable: do not leave tailing loops/ifs (IDEA-124489) 2014-06-05 11:45:20 +04:00
peter 8540bac84f RefCountHolder: allow referenced files' ast to be gc-ed during highlighting 2014-06-04 18:42:23 +02:00
Dmitry Batkovich baa638927c SurroundWithQuotesAnnotationParameter: intention replaced by quick fix to the corresponding error 2014-06-04 16:45:11 +04:00
Anna Kozlova 784512b713 enum constants access inside enum constant initializers fixed (IDEA-125816) 2014-06-03 11:31:18 +04:00
Anna Kozlova b1b3b1db37 accept intersection types in foreach stmts (IDEA-125800) 2014-06-03 11:31:16 +04:00
Roman Shevchenko b8be4e29d9 IDEA-125805 (language level increase quickfix for switch on enum/string) 2014-06-02 20:14:07 +04:00
Roman Shevchenko 75a492a4e0 Cleanup (less repeated checks; less parameter pinballing) 2014-06-02 20:14:06 +04:00
peter 6f7574cce7 dfa: invalid type diagnostics (IDEA-125179) 2014-06-02 17:29:55 +02:00
Alexey Kudravtsev 309e1b13cd provide empty quick fix factories for upsource 2014-06-02 17:41:12 +04:00
peter 5d8ee45b19 IDEA-112222 Validate @Contract annotation is related to the code 2014-06-01 17:20:57 +02:00
Anna Kozlova ae5717690b provide 'place' language level for convertible check to allow types from old libraries to be casted to primitives (IDEA-117684) 2014-05-31 20:36:04 +04:00
Anna Kozlova 6b5c924a4e suspicious collections call: process removeAll (IDEA-108755) 2014-05-31 20:36:02 +04:00
peter ac9d1e864f get java language level from the root model when pushers haven't finished yet 2014-05-30 15:26:51 +02:00
peter a30a74e846 fix dfa contract believing that nullable is always null 2014-05-29 21:55:46 +02:00
peter 9c29b9548a fix dfa contract IOOBE with varargs 2014-05-29 21:55:45 +02:00
Anna Kozlova 41b974e36f anonym -> lambda: disable if target SAM type is raw and methods are called on params with Object erasure (IDEA-125613) 2014-05-29 21:49:26 +04:00
Dmitry Batkovich 2d0aa2ae3a BlockMarkerCommentsInspection changes after review 2014-05-29 18:04:04 +04:00
Max Medvedev 53fbe15288 IDEA-125556 New Groovy class dialog contains trait option
IDEA-125577 new icons for Groovy traits
2014-05-29 17:42:30 +04:00
Alexey Kudravtsev d85d443ba8 more moves to groovy-psi 2014-05-29 13:26:19 +04:00
Alexey Kudravtsev 4bf725a53c moved away from java-impl 2014-05-29 13:22:54 +04:00
Dmitry Batkovich 80a7f69972 IDEA-25183 2014-05-28 17:46:34 +04:00
Dmitry Batkovich 220964b6af BlockMarkerCommentInspection moved to java-analysis-impl 2014-05-28 16:26:58 +04:00
Dmitry Batkovich dff9280491 IDEA-93040 2014-05-28 16:06:16 +04:00
Alexey Kudravtsev 622c1df75a NPE 2014-05-28 15:58:16 +04:00
Alexey Kudravtsev 31d0a47b03 moved to analysis 2014-05-28 15:58:14 +04:00
Alexey Kudravtsev 5d21da588a added equals to LocalsControlFlowPolicy, notnull 2014-05-28 15:58:08 +04:00
Anna Kozlova a7aa0df7ed lambda: extract parameters incompatibility check 2014-05-28 09:14:28 +04:00
peter 6b46fcf21b dfa: contracts validation should not exclude notnull validation 2014-05-27 19:20:38 +02:00
Anna Kozlova 32fe2746f9 stream api: do not collapse loops when body is not throws compatible (IDEA-125541) 2014-05-26 15:35:49 +04:00
Anna Kozlova eaa9ce63f6 method refs: check if interface functional (IDEA-125511) 2014-05-26 09:19:31 +04:00
Anna Kozlova d2c04b864f anonymous -> lambda: do not collapse to lambda functional interfaces with generics methods, accepted by method refs though 2014-05-26 07:46:09 +04:00
peter 68f7fad1c5 IDEA-125248 Incorrect simplify for float 2014-05-23 17:45:57 +02:00
peter 33929c5eab don't use checker.xml for dfa (but leave it there for a while, IDEA-125426) 2014-05-23 15:43:09 +02:00
Alexey Kudravtsev 76c0e946d2 moved inspections to groovy-psi 2014-05-23 17:13:33 +04:00
Anna Kozlova 3baeea416b try to highlight only wrong argument in inapplicable call 2014-05-21 12:02:19 +04:00
Anna Kozlova bb5631c2b5 action to change assignable var type (IDEA-125234) 2014-05-20 14:17:05 +04:00
Anna Kozlova 8d2b706f59 change method return type on call site (IDEA-125166) 2014-05-16 20:42:44 +04:00
peter 83a2697042 IDEA-125194 Strange control-flow inspection 2014-05-16 16:51:39 +02:00
Anna Kozlova 1e48abe578 good code red: nested classes inheritance 2014-05-16 14:59:24 +04:00
Konstantin Bulenkov 9ea43449b1 rollback 2014-05-16 03:46:33 +02:00
Konstantin Bulenkov 5bf1a9206d [java-analysis-impl] use Couple 2014-05-16 01:13:00 +02:00
Anna Kozlova 6e2f355a81 EA-56686 - NPE: UnusedDeclarationInspection$$.runInspection 2014-05-13 18:04:54 +04:00
Anna Kozlova 5bf5dd0450 static methods in interfaces can't be hidden in subclasses (IDEA-124921) 2014-05-12 13:08:28 +04:00
Anna Kozlova 2a25c8c58a code cleanup (initial) 2014-05-12 11:42:18 +04:00
Anna Kozlova 03640d1a37 EA-56450 - CCE: JavaSuppressionUtil.getInspectionIdsSuppressedInAnnotation 2014-05-08 10:41:15 +04:00
Anna Kozlova 72d5787df6 EA-56189 - ISE: LocalCanBeFinal.checkCodeBlock 2014-05-07 16:28:14 +04:00
Anna Kozlova 1ab69ce2b2 stream migration: missed qualifiers restored (IDEA-124820) 2014-05-07 11:57:36 +04:00
peter 5348fc61c9 IDEA-124644 Comparison of negative zero with positive zero incorrectly marked as always false 2014-05-05 18:11:00 +02:00
Anna Kozlova 78e9bb7840 type parameters should not cause deprecated constructor warning to appear (IDEA-124689) 2014-05-05 17:12:16 +04:00
Anna Kozlova 91f63083c7 redundant suppressions: take into account alternative ids (IDEA-124690) 2014-05-05 17:12:15 +04:00