Commit Graph
461 Commits
Author SHA1 Message Date
anna 4cdf6d94de check for conflicts with escalate visibility setting on (IDEA-88719) 2012-08-01 16:54:11 +02:00
anna 10f113df0a introduce variable: correctly detect anchor to insert variable declaration near for statement (IDEA-89351) 2012-08-01 12:27:01 +02:00
anna ecb0f64aa1 name suggestions: skip pluralization when component type is the same as original (IDEA-89143) 2012-07-31 16:51:28 +02:00
anna 146765a32b introduce field from lambda expr test 2012-07-24 17:51:53 +02:00
anna 445fe5c251 lambda: inline lambda initialized vars 2012-07-24 17:51:53 +02:00
anna e0cad5f568 introduce variable from lambda expression 2012-07-24 17:51:51 +02:00
anna 858a95e9bd inplace introduce: do not select the typed name on template restart (IDEA-69477) 2012-07-24 15:15:04 +02:00
anna 40006957a2 inline: replace type elements in order (IDEA-88882) 2012-07-16 20:11:15 +02:00
anna 41932a9527 inline: do not delete call but warn when resulted expr is not a valid statement (IDEA-88886) 2012-07-16 19:20:51 +02:00
anna 7de8a25c0b introduce variable: forbid duplicate replacement in for statement condition (IDEA-88758) 2012-07-13 16:07:25 +02:00
anna b47bf7ece1 move instance member: disable visibility change when move into interface; insert @override if needed (IDEA-88471) 2012-07-09 13:39:03 +02:00
anna 961086a6d1 do not skip control flow for unreachable code (IDEA-87654) 2012-07-05 11:02:17 +02:00
Anna Kozlova 4b5ba694dc pull up: postpone type params replacement: substituted types can contain type params from base class with names that exist in current class (IDEA-87543) 2012-06-19 14:04:30 +04:00
Anna Kozlova 399ca4050a online change signature: preserve signature formatting (IDEA-77097) 2012-06-19 14:04:28 +04:00
Anna Kozlova 0b801de6e9 change signature: allow to add multiple params without default values (IDEA-77339) 2012-06-19 14:04:27 +04:00
Anna Kozlova 51b6f9e052 change signature: preserve param javadoc when name was changed (IDEA-87521) 2012-06-18 19:03:39 +04:00
Anna Kozlova 2d25763038 do not introduce from q.selection (IDEA-87461) 2012-06-15 17:48:25 +04:00
Anna Kozlova 7d414e9817 convert anonymous to inner: collapse diamonds (IDEA-87265) 2012-06-13 11:40:34 +04:00
Anna Kozlova 685e33675c convert anonym to inner: ignore used type params as they would be propagated anyway (IDEA-87171) 2012-06-09 21:31:06 +04:00
Anna Kozlova 173cb1f7ca inline this() as method inside the constructor for non chained constructors (IDEA-87111) 2012-06-09 16:11:11 +04:00
Anna Kozlova e0015d4888 change signature: do not show conflicts about non-changed param names 2012-06-09 16:11:10 +04:00
Anna Kozlova 55f930a0e1 change signature: substitute param types according to class hierarchy (IDEA-87146) 2012-06-08 20:39:43 +04:00
Anna Kozlova da14fb5c42 merge pulled interfaces (IDEA-87191) 2012-06-08 20:39:42 +04:00
Anna Kozlova 78cf87d2c8 do not replace diamonds without necessity (IDEA-87172) 2012-06-08 16:07:19 +04:00
Anna Kozlova 0b59d19a7c inline method/constant: warn when method is used in javadoc (IDEA-72562); add search in comments and strings/for text occurrences options 2012-06-05 18:09:49 +04:00
Anna Kozlova 201978075d introduce constant: create subclass when it is not possible to place the constant inside the class (IDEA-86965) 2012-06-04 18:14:44 +04:00
Anna Kozlova 472d16982d commented tests for use interface where possible refactoring 2012-06-01 21:40:09 +04:00
Anna Kozlova 95733028b5 push down: substitute pushed dependencies (IDEA-86870) 2012-05-31 21:30:11 +04:00
Anna Kozlova b950ee8562 extract method: no need to declare variables after call when expression was extracted 2012-05-31 21:30:10 +04:00
Anna Kozlova e70f160fe2 safe delete: remove @Override annotation when method is made private 2012-05-31 14:15:07 +04:00
Anna Kozlova d836edf6c5 push down: search for method in inheritor by super method signature (IDEA-86806) 2012-05-30 15:41:07 +04:00
Anna Kozlova 4c730104a8 inline superclass: correct super references in extends/implements lists without pushdown (IDEA-86639) 2012-05-25 14:16:50 +04:00
Anna Kozlova 58fbaf7822 change signature detection: do not detect signature change too aggressive (IDEA-86319) 2012-05-21 14:04:19 +04:00
Anna Kozlova 86c0b2da14 inplace rename: include the whole file in rename scope. when the substitutor is located in the same file it would be included in rename process (IDEA-86294) 2012-05-21 14:04:18 +04:00
Anna Kozlova 56311ae33e inline to anonymous: wrap code with code block when needed (IDEA-86007) 2012-05-18 15:42:44 +04:00
Anna Kozlova 2350d7f3e4 template fixed 2012-05-18 11:42:15 +04:00
Anna Kozlova 255d12f79a inline method: decode before class declaration become invalid 2012-05-16 18:36:03 +04:00
Anna Kozlova dde04a403d preserve javadoc refs during inplace rename (IDEA-85817) 2012-05-15 15:05:50 +04:00
Anna Kozlova ccba3bf443 inplace introduce parameter: from field with the same name (IDEA-85750) 2012-05-14 19:51:53 +04:00
Anna Kozlova 2a03100cb3 suggest to rename constructor params when property name is the same (IDEA-85979) 2012-05-14 18:27:41 +04:00
Denis.Zhdanov 2bcb01f172 IDEA-85813 Field/variable declaration/assignment alignment lost with Refactor>Rename or Reformat Code
Expand field range to the field group range during the formatting if necessary
2012-05-10 07:38:28 +04:00
anna 584cf8b16b introduce parameter: do not insert additional arg when selection was in the self call (IDEA-66896) 2012-04-16 09:21:10 +02:00
anna f073b37e46 introduce variable: use right expression if left ref is unresolved (IDEA-72914) 2012-04-14 19:09:32 +02:00
anna 37f41bf73f introduce variable from polyadic expression: ensure that selected expr would be replaced 2012-04-09 20:29:44 +02:00
anna c660378357 inline: do not mess with qualifiers statically imported members (IDEA-83713) 2012-04-06 20:33:01 +02:00
anna 6482929c2d move instance method: do not break visitor - postpone whole expr replacement (IDEA-84207) 2012-04-06 18:06:20 +02:00
anna 289f64b764 move instance: do not warn about self references 2012-04-06 15:01:10 +02:00
anna 8b81df9ef0 introduce constant: check forward reference fix ( IDEA-84139) 2012-04-06 15:01:10 +02:00
anna f7e384c39d rename: context class should be chosen when qualify conflict ref (IDEA-83928) 2012-04-04 16:38:01 +02:00
anna 00f361600b rename method: warn about cases when after rename another method would be used in the call places (IDEA-83831) 2012-04-04 16:37:59 +02:00