Commit Graph
665 Commits
Author SHA1 Message Date
Anna Kozlova 7be506a901 do not crash on invalid lambdas/method refs (IDEA-130240) 2014-09-29 14:08:34 +02:00
Anna Kozlova a25b50b5fe extract light method object: make all private file members public to ensure direct access from 'magic' inner class 2014-09-12 12:38:16 +04:00
Anna Kozlova 7e68549078 extract light method object: calculate offsets related to valid parent so inserted during refactoring import would be taken into account 2014-09-11 16:05:20 +04:00
Anna Kozlova bad93dbdc9 extract light method object: insert result as last statement 2014-09-11 13:13:50 +04:00
Anna Kozlova 1304e452d9 extract light method object: invoke on expressions 2014-09-10 21:57:43 +04:00
Anna Kozlova 92518cf5c9 extract light method object: filter inaccessible variables 2014-09-09 15:51:39 +04:00
Egor.Ushakov d20820b0f8 test for invoke return type 2014-09-08 15:31:50 +04:00
Anna Kozlova 4225b2e93f change initial expectations for light extract object 2014-09-05 13:17:10 +04:00
Anna Kozlova 64422b696d extract method object to emulate debugging for anonymous classes, lambdas, etc 2014-09-03 22:34:57 +04:00
Anna Kozlova df85632e9d preserve static imports if overloaded methods are still used (IDEA-128873) 2014-08-26 15:54:00 +04:00
Anna Kozlova 01e119b579 EA-58413 - assert: RenameJavaMethodProcessor.findHidingMethodWithOtherSignature
collision check: rename method to existing name with method references
2014-07-23 20:57:29 +02:00
Anna Kozlova b585c95984 inline method: check unique names for this variable in initial class scope (IDEA-127411) 2014-07-22 13:49:32 +02:00
Anna Kozlova aea7066c18 allow to pull methods in super interface as default ones when super interface already contains a method with the same signature; remove @Override in such case (IDEA-126988) 2014-07-18 10:34:56 +02:00
Anna Kozlova 4dd9e672c6 method refs: move method inside class with method ref usage (EA-57734 - IOE: PsiReferenceExpressionBase.setQualifierExpression) 2014-06-30 20:45:06 +02:00
Anna Kozlova f0f8dd1db2 variable incomplete code searcher should not find methods with the same name even if they are also unresolved; inline covered by RefactoringUtil.renameVariableReferences() (IDEA-126312) 2014-06-18 17:17:13 +02:00
Anna Kozlova 693bbf6ef8 encapsulate fields: preserve comments inside (IDEA-124747) 2014-06-06 17:47:25 +04:00
Anna Kozlova 350760c993 rename: detect "field would hide local" conflict (IDEA-125934) 2014-06-05 16:05:50 +04:00
Anna Kozlova 8a80f671c2 leave foreign params untouched (IDEA-119700) 2014-05-26 18:07:52 +04:00
Anna Kozlova ec9a61b8bd extract method: redundant cast treatments (IDEA-125259) 2014-05-20 14:17:04 +04:00
Anna Kozlova 3003df2666 change class signature: process diamond (IDEA-125236) 2014-05-19 14:08:59 +04:00
Anna Kozlova b1b602553c extract field from auto closable (IDEA-125141) 2014-05-15 18:26:56 +04:00
Anna Kozlova 547c62c168 qualify conflicting fields name (IDEA-123969) 2014-04-29 18:54:58 +04:00
Anna Kozlova 5dbbebe065 extract superclass: process same name type parameters inside class members 2014-04-28 15:12:45 +02:00
Anna Kozlova ee2a5d0615 introduce: process chained method calls during same occurrences processing (IDEA-124349) 2014-04-24 11:28:18 +02:00
Anna Kozlova 9fda587640 extract variable: ensure replace all occurrences survive parenthesis around value (IDEA-122041) 2014-04-16 16:42:07 +02:00
Anna Kozlova 1977e48c1a escalate visibility for moved class (IDEA-119683) 2014-04-11 22:21:16 +02:00
Anna Kozlova d9fe7023db push down: interface constants in class should appear with public-static-final (IDEA-123758) 2014-04-11 18:52:46 +02:00
Anna Kozlova 666adddc20 invert boolean: ensure to invert default boolean initializer (IDEA-123510) 2014-04-09 20:21:27 +02:00
Anna Kozlova 172a01d226 functional expressions & @FunctionalInterface based conflicts for pull up/push down refactorings 2014-04-08 12:18:35 +02:00
Anna Kozlova e55748fe63 functional expressions: pull up conflicts 2014-04-08 12:18:34 +02:00
Anna Kozlova 05fb5ed27b functional expressions: push down conflicts 2014-04-08 12:18:33 +02:00
Anna Kozlova d8ed05dbfa functional expressions: allow to delete/change signature of default methods of functional interfaces 2014-04-08 12:18:32 +02:00
Anna Kozlova 2a89426bce safe delete: warn about functional expressions 2014-04-07 20:42:08 +02:00
Anna Kozlova fe7b903e50 testdata fixed 2014-04-01 17:29:11 +02:00
Anna Kozlova 6bc99a3133 IDEA-122548 Exception while inlining method 2014-03-20 20:05:28 +01:00
Anna Kozlova a97bc5c796 IDEA-121180 Exception: Introduce parameter from final local var in anonymous class 2014-03-18 20:00:57 +01:00
Anna Kozlova 90698ca76c IDEA-122014 Extract method duplicates analysis fails in case of inner classes 2014-03-18 16:49:04 +01:00
Roman Shevchenko 2805c474e3 IDEA-103174 (type annotations in change signature) 2014-03-13 14:13:10 +01:00
Anna Kozlova f64d2394d2 rename suggestions: suggest new names for non-variables (IDEA-121982) 2014-03-12 10:07:16 +01:00
Roman Shevchenko f05869508f IDEA-54387 (type annotations in introduce parameter) 2014-03-11 17:39:19 +01:00
Roman Shevchenko 3f3e06483b IDEA-54396 (type annotations in "Wrap Return Value") 2014-03-11 15:07:58 +01:00
Roman Shevchenko 744d7c8d97 java: "wrap return value" bean formatting fixed 2014-03-11 15:06:38 +01:00
Roman Shevchenko b9b76dca15 java: type annotations 2014-03-04 10:53:04 +01:00
Roman Shevchenko aea523f98a Cleanup (deprecated code; formatting) 2014-02-26 17:56:06 +01:00
Roman Shevchenko dd456d2faa Cleanup (typos) 2014-02-21 20:27:58 +01:00
Anna Kozlova cf00d70317 delete old inference strategy for java 8 2014-02-21 18:55:56 +01:00
peter fdee76603c IDEA-117332 Change signature refactoring should warn about @Contract conflict 2014-02-21 15:38:38 +01:00
Anna Kozlova fbb0fd6132 IDEA-119021 Wrong accessibility warnings when inlining a static class to anonymous 2014-01-09 16:13:24 +01:00
Anna Kozlova cda9ec5baf parameterized test: sample cases 2014-01-08 12:50:00 +01:00
Anna Kozlova a8329a30c8 safe delete: do not change semantic on delete loop/if body (IDEA-114406) 2013-12-31 16:23:37 +01:00