Commit Graph
1015 Commits
Author SHA1 Message Date
Alexey Kudravtsev 920d5b4fba removed default file header, because it adds no information but subtracts attention and space 2017-05-11 13:39:07 +03:00
Anna.Kozlova 2d1525e566 move classes and packages: retarget usages before decode to provide correct qualified names (IDEA-170920) 2017-04-13 14:03:16 +02:00
Anna.Kozlova 603dfac67a move instance method processor: expand method reference to lambda when needed 2017-04-12 17:31:06 +02:00
Anna.Kozlova d9c6dfc42c convert static method to instance method of the same class without corresponding parameter (IDEA-64834) 2017-04-12 14:09:10 +02:00
Anna.Kozlova 3f7a67cdfc convert static method to instance: expand method reference to lambda, fix qualifier when needed 2017-04-12 14:09:10 +02:00
Anna.Kozlova 1ac3125794 convert method to instance: don't remove 'this' qualifier from method reference 2017-04-12 14:09:10 +02:00
Egor.Ushakov 59a2c555ca IDEA-171094 Extract method object fails 2017-04-07 16:41:58 +03:00
Egor.Ushakov e1f423e1d4 IDEA-171134 Extract as method object generates the same getters 2017-04-07 15:21:09 +03:00
Roman Shevchenko 5e5c14c57e [java] raises language level to Java 9 2017-03-24 18:35:57 +01:00
Anna.Kozlova 0a889aa880 distinguish usageInfos corresponding to one poly reference
static import on overload method should be updated when all overloads are renamed simultaneously (IDEA-142445)
2017-03-20 17:05:33 +01:00
Anna.Kozlova e30711cb87 inline constructor: allow inlining constructors with multiple statements in chained constructor calls (IDEA-168258) 2017-03-20 17:05:33 +01:00
Anna.Kozlova 9a3f46076c ensure redundant on demund imports are not created when shorten class refs would find a conflict with class in same package/implicitly imported package (IDEA-169190) 2017-03-16 15:03:15 +01:00
Anna.Kozlova 9eccba4ef5 inline method to enum constant (IDEA-169658) 2017-03-15 14:21:33 +01:00
Anna.Kozlova 9574fa7a6e inline: don't check containing method call if inline to method reference 2017-03-14 14:17:14 +01:00
Anna.Kozlova af59ff1487 change signature: move declarations out of try/catch block (IDEA-169213) 2017-03-07 14:57:35 +01:00
Tagir Valeev 2c5949a2bb inplaceIntroduceField#replaceAll_after: variable name changed after mockJdk version updated 2017-03-06 17:57:41 +07:00
Tagir Valeev 0e44858a99 Extract variable to chained method call 2017-03-06 15:32:17 +07:00
Anna.Kozlova 968d14a5db Revert testdata changes: Proper focus requests through the IDE focus subsystem. Part II. 2017-02-21 21:25:26 +01:00
Denis Fokin 556290b406 Proper focus requests through the IDE focus subsystem. Part II. 2017-02-21 21:06:22 +03:00
Anna.Kozlova 71b7d9cbf3 don't duplicate type use annotations during copy of modifier lists (inspired by IDEA-166062) 2017-02-16 17:15:56 +01:00
Anna Kozlova 3057f56cae fix testdata case 2017-01-24 16:16:29 +03:00
Anna Kozlova d3e2f47a2d introduce constant: ensure chosen visibility is acceptable (IDEA-166950) 2017-01-24 12:08:04 +03:00
Anna Kozlova edac6e4874 make static: fix inner class check (IDEA-166983) 2017-01-23 16:24:03 +03:00
Anna.Kozlova 15dbccb971 inline constant: ensure initial initializer is not changed
EA-93434 - IOE: CheckUtil.checkWritable
2017-01-11 12:58:26 +01:00
Anna.Kozlova 78b9442d20 extract method: sanitize parameter types (IDEA-166319) 2017-01-09 18:15:16 +01:00
Anna.Kozlova 91291a4d94 change signature: call to super in class/field initializer
EA-93569 - IAE: MethodSignatureUtil.isSuperMethod
2017-01-05 19:01:34 +01:00
Anna.Kozlova cbc1dadaae fix testdata 2016-12-29 10:43:30 +01:00
Anna.Kozlova a1ff14e61c ensure usages in comments are not found in scratches during safe delete (IDEA-165748) 2016-12-23 19:37:48 +01:00
Anna.Kozlova 38cb2b8c29 assume that lambda on method references place won't require additional cast (IDEA-165335; IDEA-165039) 2016-12-20 19:31:40 +01:00
Anna.Kozlova 17f92bdc32 extract method: don't mark final if used in anonymous but effectively final in java 8 (IDEA-165642) 2016-12-19 19:17:24 +01:00
Anna.Kozlova f15f17c7b7 don't touch static imports in moved directories (IDEA-165125) 2016-12-16 10:56:48 +01:00
Anna.Kozlova d3134b026b extract method: don't skip variables used in left side of assignments (IDEA-165386) 2016-12-13 17:46:28 +01:00
Anna.Kozlova 939c1735e3 ensure super methods are renamed first (IDEA-165312) 2016-12-12 19:25:23 +01:00
Anna.Kozlova 81e49151ff don't insert braces around single lambda parameter 2016-12-06 12:35:48 +01:00
peter 2d78283eee canonicalize test data formatting for inline local variable 2016-12-02 08:17:33 +01:00
Bas Leijdekkers cbab61f15b fix annotation matching in duplicates finder 2016-11-21 17:09:15 +01:00
Anna.Kozlova 12542833ff change signature: refresh type element after normalizeDeclaration for old style arrays 2016-11-15 18:11:31 +01:00
Anna.Kozlova e64e0ac67b safe delete: do not show conflicts about method reference if it occurs in the argument to be deleted (IDEA-163964) 2016-11-15 18:11:31 +01:00
Anna.Kozlova 38116b22c1 show conflict if move as enum would change the semantics (IDEA-163248) 2016-11-15 18:11:31 +01:00
Anna.Kozlova 034a7db3e3 extract delegate: ensure class fqns are not lost (IDEA-163265) 2016-11-14 19:05:03 +01:00
Anna.Kozlova fd89b0ed18 introduce variable: distinguish lambda parameters but allow param free expressions (IDEA-163785) 2016-11-10 17:47:28 +01:00
Anna.Kozlova 848c1f215c inplace change signature: no detection, explicit action 2016-11-10 10:52:14 +01:00
Anna.Kozlova bed1e83f3d migration: ensure migrated refs are shortened (IDEA-163298) 2016-11-02 10:06:44 +01:00
Anna.Kozlova 260c6317c8 inline local: go through lambda/inner class hierarchy evenly (IDEA-162909) 2016-10-21 14:52:31 +02:00
Anna.Kozlova 8a276d0bf4 introduce variable: allow introduction of expression from inside for loop if independent from loop vars (IDEA-162911) 2016-10-21 14:52:31 +02:00
Anna.Kozlova 94105ecee4 inline to anonymous: allow to inline from library (IDEA-162893) 2016-10-20 19:04:25 +02:00
Anna.Kozlova bf60885576 inline chained constructor from library class 2016-10-20 19:04:25 +02:00
Anna.Kozlova 2a8fc8cbc6 extract method object: process parameters as output variables (IDEA-162642) 2016-10-17 19:00:10 +02:00
Anna.Kozlova 0cb5558e85 inplace introduce variable: ensure validity of created var
EA-63354 - PIEAE: CompositePsiElement.getContainingFile
2016-10-17 13:10:49 +02:00
Anna.Kozlova 2bd3365dc6 fix testdata 2016-10-14 16:31:35 +02:00