Commit Graph

364 Commits

Author SHA1 Message Date
Anna Kozlova a4f36f237c anonym to lambda: rename conflicting locals (IDEA-120221) 2014-03-26 18:54:40 +01:00
Anna Kozlova aa6dbcd24a collapse statement lambda to expression lambda: enable for value compatible lambdas (IDEA-122785) 2014-03-24 20:22:24 +01:00
Anna Kozlova b19b34af63 shorten qNames on adding explicit type arguments (IDEA-122667) 2014-03-24 20:22:23 +01:00
Anna Kozlova 43b8f9cdf4 stream migration: collapse identity matching (IDEA-122706) 2014-03-24 20:22:22 +01:00
Anna Kozlova d8747dfea6 stream: do not suggest collect when filter depends on collection (IDEA-122410) 2014-03-19 22:02:25 +01:00
Anna Kozlova b92955274f IDEA-122392 intention: "Create Local Var from instanceof Usage" does not format generated code 2014-03-19 22:02:24 +01:00
Anna Kozlova e6547e3991 poly conditional expression type = target type (IDEA-122401) 2014-03-19 19:32:35 +01:00
Anna Kozlova 6af1d4e49a field can be local: group by top level blocks (IDEA-121490) 2014-03-18 20:00:56 +01:00
Anna Kozlova ed13961e23 IDEA-122347 No quick fix to add explicit type arguments 2014-03-18 16:49:03 +01:00
Anna Kozlova 3704bfc631 IDEA-121234 IDEA can not update method return type 2014-03-14 20:43:58 +01:00
Anna Kozlova 912e13d8af add junit4.jar together with hamcrest (IDEA-119626)
(cherry picked from commit 8adb1aadfc02ee5450f6f40d6e62892bef5a97e0)
2014-03-12 10:15:26 +01:00
Roman Shevchenko 64c651e7c5 IDEA-54397 (type annotations in override/implement) 2014-03-11 15:08:03 +01:00
Bas Leijdekkers 54fccb5efd IDEA-121828 (Add single member static import intention should be available on incomplete code) 2014-03-07 16:54:19 +01:00
Bas Leijdekkers 6d2515cf2f fix IDEA-112499 for single member static imports 2014-03-07 16:54:18 +01:00
Bas Leijdekkers 811fdf58e0 fix IDEA-112499 for on demand imports 2014-03-07 16:54:18 +01:00
Bas Leijdekkers b52ec5f33f IDEA-121784 (Add on demand static import intention not available when single-member static import present) 2014-03-07 16:54:17 +01:00
Bas Leijdekkers 557cca9d2d IDEA-108072 (Don't suggest to add on-demand static import for the current class) 2014-03-06 19:16:12 +01:00
Anna Kozlova 1a931f9871 lambda: unhandled exceptions inside method body should be treated as those inside anonymous classes (IDEA-121741) 2014-03-06 15:30:24 +01:00
Anna Kozlova a042720e74 stream migration inspection: preserve comments (IDEA-121679) 2014-03-06 15:30:23 +01:00
Anna Kozlova b060c817e0 stream migration inspection: collapse only primitive new initializers (IDEA-121745) 2014-03-06 15:30:22 +01:00
Roman Shevchenko 4969888e1f java: no annotations needed in type cast 2014-03-06 10:55:44 +01:00
Roman Shevchenko 1687a22e89 Cleanup (unneeded test data) 2014-03-06 10:55:44 +01:00
Anna Kozlova 380c7a998e testdata for IDEA-121661 2014-03-05 11:39:48 +01:00
Anna Kozlova 0fa7d08f83 IDEA-121658 Java 1.8: "Replace with forEach" quick fix is not suggested if for statement is not surrounded with braces 2014-03-05 11:39:47 +01:00
Anna Kozlova e31638ac97 IDEA-121621 Java 1.8: "Replace with collect" quick fix inserts unresolved method reference 2014-03-04 19:29:05 +01:00
Roman Shevchenko c6947e3831 IDEA-108454 (test added) 2014-03-04 17:42:29 +01:00
Anna Kozlova 6087cbacb0 java 1.8, stream api migration: convert to method refs 2014-03-03 13:43:44 +01:00
Anna Kozlova fb65345150 java 1.8, stream api migration: shorten class names 2014-03-03 13:43:43 +01:00
Anna Kozlova 0cab1e2e81 java 1.8, stream api migration: collect (to be continued) 2014-03-03 11:00:05 +01:00
Anna Kozlova 9b637e541b for loop -> forEach call chain inspection 2014-02-25 22:03:28 +01:00
Anna Kozlova e967a04b4b redundant lambda param types: take site subst into account 2014-02-25 22:03:27 +01:00
Anna Kozlova 1b50ea2eb2 lambda -> anonym: disable in unexpected context where cast won't help (IDEA-120165) 2014-02-25 10:15:19 +01:00
Anna Kozlova 24fbf809a1 anonym -> lambda: check initializer inside constructor for final fields (IDEA-120698) 2014-02-24 21:49:00 +01:00
Anna Kozlova 44dde647bb anonym -> lambda: do not suggest when forward references are detected (IDEA-120699) 2014-02-24 21:48:59 +01:00
Dmitry Batrak 8c3d81d77b IDEA-80056 Column selection mode improvement
updating editor fixtures to work for multiple carets
2014-02-13 13:21:26 +04:00
Anna Kozlova 945357a527 IDEA-120600 Create Inner Class should create static inner class in qualifier class 2014-02-12 15:07:30 +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
Anna Kozlova e0fbc6320e resolve names conflicts inside lambda body (IDEA-120096) 2014-01-30 20:13:51 +04:00
Anna Kozlova f0bfe3604e forbid forward references from lambda again (IDEA-119936) 2014-01-30 20:13:48 +04:00
Anna Kozlova 389fc762e1 EA-53504 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText 2014-01-24 15:53:47 +04:00
Anna Kozlova eb258ae064 delete catch fix: introduce ARM 2014-01-02 11:59:13 +01:00
Anna Kozlova 3d7a8fb300 ensure public inner inside interface (IDEA-118564) 2013-12-23 16:44:48 +04:00
Anna Kozlova 7c4a448e29 add assert: respect initializer in ForStatement 2013-12-19 21:50:25 +04:00
Anna Kozlova 27a4b1890d suggest to extend class from Throwable when it participates in throw statement (IDEA-118215) 2013-12-16 20:08:26 +04:00
Anna Kozlova bf9f135419 create from usage: reuse 'completion inference' when create from argument list 2013-12-07 14:21:43 +01:00
Bas Leijdekkers fe3cabd3cc fix bad loop IDEA-117644 ("Move initializer to constructor" intention breaks code) 2013-12-05 12:31:28 +01:00
anna 8b97583179 add explicit arguments: eliminate wildcards (IDEA-106741) 2013-12-03 17:35:07 +01:00
anna 4920da736f IDEA-113339 "replace with method reference" ignores side effect of expression: ignore any new expressions in qualifiers 2013-11-29 18:24:21 +01:00
anna 3c78ab4dc5 lambda -> method ref: do not convert if resulted ref would be ambiguous (IDEA-116964) 2013-11-28 21:42:31 +01:00
anna 5847e27156 suggest casting int to long when Long is expecting 2013-11-28 12:21:43 +01:00