Commit Graph

312 Commits

Author SHA1 Message Date
anna 3f2a4dca13 IDEA-115867 Copy to temp final variable does not work correctly inside expression without braces 2013-11-04 16:16:26 +01:00
anna c8f60d695c intersection type presentable name with & (IDEA-115802) 2013-11-04 13:00:54 +01:00
anna 578826bb30 disable flip intersection conjuncts for equal sides 2013-10-31 16:35:42 +01:00
anna 5bd8b62070 fix to switch intersection types order in casts when one of the last types is not an interface 2013-10-31 16:35:39 +01:00
anna a7316ca594 lambda: do not suggest to replace with lambda when refs to final fields exist in body (IDEA-111026); final initializer 2013-10-24 14:07:46 +02:00
anna 60dffe3c03 provide common quickfixes for ambiguous constructor calls (IDEA-115255) 2013-10-23 16:31:32 +02:00
Bas Leijdekkers 80c1fc4a87 fix JavadocInspectionQuickFixTest 2013-10-07 11:04:49 +02:00
anna 264025422d test data fixed 2013-09-25 18:32:29 +02:00
Anna Kozlova 286cdc3bae anonym -> lambda: unique param names (IDEA-113338) 2013-09-09 13:03:19 +04:00
peter 2418434082 update FixAllQuickfixTest test data, so that it identifies the quick fix unambiguously 2013-09-05 21:35:18 +02:00
Bas Leijdekkers d273f7d591 "Move assignment to field declaration" intention CCE fix 2013-09-03 21:47:43 +02:00
Anna Kozlova 7c56a37bc4 create var from instanceOf check: do not insert before previous line end-line comment 2013-08-30 14:20:22 +04:00
Anna Kozlova 4be2bcf4f0 restore suggestion to remove 'abstract' when method has body 2013-08-26 14:02:43 +04:00
Anna Kozlova 7cf4be2861 provide enum constructor package local modifier according to spec examples (IDEA-111785) 2013-08-09 14:21:26 +02:00
Anna Kozlova 5ca0622cf4 IDEA-111715: implements for enum constant without class initializer 2013-08-09 14:21:25 +02:00
Roman Shevchenko b993b94f0e IDEA-111523 (the intention is only supposed to work inside regular assignment) 2013-08-05 21:47:23 +02:00
peter 0cfc3b5f9e IDEA-111144 'Generate Getter' should add @Override if needed 2013-08-01 16:57:08 +02:00
anna 40d22fb15b revert lower accessibility for getters/setters (IDEA-108598) + consistency to getter/setter completion 2013-07-25 10:20:04 +02:00
anna 6e9f9c690f EA-47443 - assert: CreateLocalFromUsageFix.getAnchor 2013-07-01 17:37:52 +02:00
Anna Kozlova c289233dac expected types: do not "erase" too much (IDEA-109700) 2013-06-27 16:24:18 +04:00
Anna Kozlova e9924f79c4 java 8: suggest to add method body for default methods in interface 2013-06-25 21:34:52 +04:00
Anna Kozlova c69b6261b7 convert field to local: support fields used in multiple methods (IDEA-108517) 2013-06-25 13:36:58 +04:00
Anna Kozlova c76af839e0 rename inspection/fix according to spec (IDEA-108821) 2013-06-12 14:58:55 +04:00
Anna Kozlova 69880fdbb6 eleminate wildcards in extends/implements lists (IDEA-82093) 2013-06-04 12:25:39 +04:00
Anna Kozlova becd937093 EA-46672 - CCE: PsiThisExpressionImpl.getType 2013-05-31 13:48:48 +04:00
Anna Kozlova 7161fb7b69 create package local getter/setter for package local classes (IDEA-107671) 2013-05-27 15:17:51 +04:00
Alexey Kudravtsev 0f00f05948 restored selection after quickfix 2013-05-27 11:13:27 +04:00
anna 5fc3b0598a extend quickfix name (IDEA-107356) 2013-05-17 17:36:20 +02:00
Maxim.Mossienko cde29c8c73 fix test data 2013-05-08 14:11:26 +02:00
anna be9e2fa9f7 testdata fixed 2013-05-06 20:55:21 +02:00
anna f8509e1d67 strip wildcards when prepare explicit generics types to qualify the method calls (IDEA-106741) 2013-05-06 19:25:40 +02:00
anna 5e2184d2d4 implement methods in enum from super interface (IDEA-106310) 2013-04-29 20:26:56 +02:00
anna 92f0e1b91f static import: postpone @deprecated methods if possible; show deprecated if all/acceptable is deprecated (IDEA-98350) 2013-04-25 17:09:31 +02:00
anna e8ef5ea7d7 allow to add static import for containing class when it already contains imported members (IDEA-96156) 2013-04-25 14:14:51 +02:00
anna 3d9008c296 add single static import: process nested references (IDEA-94951) 2013-04-24 16:27:01 +02:00
anna 33f3792dc3 default methods in java 8: suggest to mark interface methods with body with default/static (IDEA-105420) 2013-04-16 11:19:48 +02:00
Roman Shevchenko 218fd54bf2 Type annotation in wildcard and class reference types; more tests 2013-04-05 21:08:12 +02:00
anna f9c121d810 generate setter prototype from field: take context into account to gic resulted method correct parameter type (IDEA-104592) 2013-04-04 20:37:58 +02:00
Roman Shevchenko fc602c65bc PsiTypeElement.getType() fixed 2013-04-04 19:38:46 +02:00
anna b75d4c139f EA-45389 - assert: SimplifyBooleanExpressionFix$ExpressionVisitor.visitPolyadicExpression 2013-04-02 20:08:51 +02:00
anna b95a271d12 generate getter/setter: allow public getter for public enum (IDEA-103718)
(cherry picked from commit bb95544d55937ef04d739a4c01839280a4eefb67)
2013-03-26 21:43:06 +01:00
anna 8f5515b2d6 create enum from usage: do not insert extends Enum list; disable create class from usage when class should extend final or enum (IDEA-103480)
(cherry picked from commit b2baa7ff649c365d6d57bf873e9fd015ccc32809)
2013-03-21 10:40:52 +01:00
anna a1753089fe lambda -> method ref: disable for inapplicable target methods (IDEA-103369)
(cherry picked from commit c05e901232c17e1a93a7024e5d7262d6a324c5e3)
2013-03-21 10:40:42 +01:00
anna 664fb24186 create field from usage: insert braces at selection end (IDEA-102716)
(cherry picked from commit 7eba27508d6e74cad0841013c313c05f6d96f17e)
2013-03-15 21:39:50 +01:00
anna 7f1f607d98 generate public getter/setter for abstract classes (IDEA-102872)
(cherry picked from commit 61685b9d890fce99c050e1b98261527b7a0e9363)
2013-03-15 21:38:02 +01:00
Roman Shevchenko 75f112bc0d IDEA-54393 (type element tree generation reworked)
Fixes: marking of generated elements, annotated types
2013-03-14 21:04:02 +01:00
anna 436f2cc351 lambda: primitive array type constructors fixed (IDEA-102836) 2013-03-11 12:29:05 +01:00
anna b298b6a8bc lambda -> method refs: array refs supported 2013-03-04 16:03:09 +01:00
anna e6fb83143a change new operator type: anonymous classes processed (IDEA-102236) 2013-03-01 18:11:40 +01:00
anna ae9e9ab0c5 register quick fixes on "expression expected" (IDEA-101705) 2013-02-28 19:31:00 +01:00