Commit Graph

144 Commits

Author SHA1 Message Date
anna cf78075c97 allow override method suggestions on method name only 2012-02-29 12:02:19 +01:00
anna eab8b8b456 make create field from parameter available on the method name 2012-02-29 10:38:30 +01:00
anna d2bacb97be collapse fqn in intention text (IDEA-81839) 2012-02-24 16:50:25 +01:00
anna 9c91d9374f add convert switch to if for invalid switch types (IDEA-81580) 2012-02-23 11:50:19 +01:00
Bas Leijdekkers 0a71148672 Improve quickfix to replace += operator with StringBuilder on left hand side with append() call
now works on java.lang.Appendable and splits concatenated strings into separate append calls
2012-02-22 16:57:49 +01:00
anna 7e2db60abd create constructor parameter from field: suggest to choose fields to create parameters from (IDEA-76417);
insert parameters in "fields" order (IDEA-81634)
2012-02-21 20:56:16 +01:00
anna d47214a173 testdata fixed to exclude copyright 2012-02-21 14:07:38 +01:00
anna 5bffdd267c testdata fixed to exclude copyright 2012-02-21 13:49:39 +01:00
anna 1188b58704 do not loose array dimension expressions when converting array types; move caret and selection only in case when no expressions were detected 2012-02-21 12:18:20 +01:00
anna 2471e079a8 rename: override instead of implement for non-abstract methods 2012-02-21 12:18:19 +01:00
Bas Leijdekkers 0d73811b02 EA-33799 (IOE: PsiJavaParserFacadeImpl.createExpressionFromText) 2012-02-18 15:08:14 +01:00
anna 8e7b3a443c add explicit type parameters available for conditional expr (IDEA-1179) 2012-02-17 21:38:34 +01:00
anna 3fbf03363e testdata fixed 2012-02-14 10:36:59 +01:00
anna cb0442de53 IDEA-76599 Quickfix to change a double literal to a float literal 2012-02-10 14:15:09 +01:00
anna d6fbbdfe30 allow to override non-abstract methods (IDEA-69772) 2012-02-09 18:51:13 +01:00
anna b13cd651dc do not insert initial method comments in delegate with default param value (IDEA-81106) 2012-02-09 18:51:11 +01:00
anna 45654bcffd change signature from usage: new param place: provide reverse based signature transformation when not the same (IDEA-70552) 2012-02-09 18:51:11 +01:00
Anna Kozlova 24ec63e74e iterate over: correct offset to detect template applicability 2012-02-02 21:17:52 +04:00
anna 2679bf2acb suggest to delete type arguments when they are not expected (IDEA-79300) 2012-01-18 11:47:48 +01:00
anna f63576f878 create constructor matching super: insert braces when no present (IDEA-77194) 2012-01-13 21:33:58 +01:00
anna c3ce1ae00f insert same notnull annotation as exist on the existing field (IDEA-79436) 2011-12-29 15:43:49 +01:00
anna 4f513cbd94 EA-31069 - assert: RefactoringUtil.getChainedConstructor 2011-12-28 16:01:34 +01:00
anna 60d4f42363 constructor parameters from fields: sort params in fields order 2011-12-26 18:55:17 +01:00
anna 44ecd52b97 change variable type from assignment: change method signature when variable is a parameter (IDEA-71674) 2011-12-16 08:47:17 +01:00
anna 99f4b3a821 try to infer types before check for applicability (IDEA-68986)
(cherry picked from commit d8bbd5c1b70135cd1eee5215dd2bffaf6d16e905)
2011-12-06 10:37:40 +01:00
anna c0a54042f2 disable on demand static import for private classes (IDEA-74951) 2011-11-23 14:11:30 +01:00
anna c2f6991ffd skip fields with initializer when generate constructor parameters; also skip static fields without initializer (IDEA-76621) 2011-11-13 18:58:28 +01:00
anna ac9fe766c4 EA-31560 - IOE: PsiJavaParserFacadeImpl.createExpressionFromText 2011-11-11 10:34:56 +01:00
anna 1281244110 EA-31554 - NPE: HighlightClassUtil$ImplementAbstractClassMethodsFix.invoke (disable for "too" incomplete expressions) 2011-11-10 16:58:24 +01:00
anna 7b0692acbc simplifying of polyadic expressions:IDEA-76076 2011-10-28 13:45:42 +02:00
anna 1ba41a4b26 qualify this with containing class (IDEA-49251) 2011-10-25 20:17:53 +02:00
anna ed24c9b396 create annotation method from usage (IDEA-75910 ) 2011-10-25 20:17:53 +02:00
anna 9188075b91 expand implement methods fix availability for new Runnable()<caret> (IDEA-74043 ) 2011-10-07 14:11:21 +02:00
anna daa3c0ff05 disable rename as wrong ref on invalid access refs; though enable quick fix there 2011-09-14 19:36:25 +02:00
anna b9f48882af create field from parameter: when field would be final and parameter is NotNull then the field should be also @NotNull (IDEA-74136) 2011-09-13 20:23:49 +02:00
Bas Leijdekkers 8ff3af2a35 Simplification of "@NotNull/@Nullable problems" inspection settings 2011-09-09 15:53:55 +02:00
anna 32e09dafb3 fix delegation to abstract method (EA-29618 - NPE: DelegateWithDefaultParamValueIntentionAction.invoke) 2011-09-09 10:54:30 +02:00
anna 8fef5fc92d replace with diamonds should always check if inferred type agrees with expected type (IDEA-73944) 2011-09-07 12:18:58 +02:00
anna c09410b3b5 @Override quick fixes: suggest to pull method up; pull members up, extract interface/superclass (IDEA-55720 ) 2011-09-06 11:54:45 +02:00
anna a8172fdc67 replace inaccessible field with getter/setter (IDEA-22752) 2011-09-01 16:04:33 +02:00
anna cd43fc0173 change new type & collapse generics for java 7 (IDEA-73517) 2011-09-01 16:04:31 +02:00
anna 818ef93d29 rename constructor matching class (IDEA-22812 ) 2011-08-26 19:01:05 +02:00
anna 9bc5f34ff8 process c-style arrays in setInitializer (IDEA-20538 ) 2011-08-26 17:57:19 +02:00
anna 15b1d535cd add single static import on inaccessible element - retrieve accessible or do not suggest intention (IDEA-18050 ) 2011-08-26 15:58:33 +02:00
anna df6d79ce8a add single static import on type elements, e.g. inside annotations, type elements (IDEA-22130) 2011-08-26 13:34:31 +02:00
anna 6794da37dd add single static import: check method base class beforehand (IDEA-12607 ) 2011-08-26 13:34:30 +02:00
anna 0f5615356b provide also create annotation from usage (IDEA-19746 ) 2011-08-25 19:26:03 +02:00
anna 6f31251be4 disable add single static import when on demand exists (IDEA-62321) 2011-08-24 12:06:00 +02:00
anna c0a11624a2 insert instance of|cast when condition contains intersection with instanceof (IDEA-64776) 2011-08-23 12:57:59 +02:00
anna 40dd8914ae change parameter class: allow for constructor calls (IDEA-64657); for variable assignments (IDEA-71592 ) 2011-08-22 21:31:12 +02:00