Commit Graph
682 Commits
Author SHA1 Message Date
Anna Kozlova 350c0b2a0a extract method nullable check: ensure correct exist statement chosen (IDEA-132706) 2014-11-13 12:35:04 +01:00
Anna Kozlova a05adb95b5 compiling debugger: shift original context if on private, so 'make public' won't invalidate anchor (IDEA-132525) 2014-11-10 17:53:58 +01:00
Anna Kozlova 0ca896928f infer generic functional types by lambda's formal parameters and exact method refs 2014-11-03 19:13:05 +01:00
Anna Kozlova 870ff1398a inplace introduce: invalid identifiers 2014-11-03 16:32:13 +01:00
Anna Kozlova e887542c3e suggest correctly shaped functional types if extracting functional expression without context: initial (IDEA-125510) 2014-11-03 15:08:48 +01:00
Yaroslav Lepenkin 896ec1edde corrected test data of "MoveMembersTest#testscr40064", due to introducing "initializer block" arrangement entry and providing changes in default arrangement configuration (98b4ec4), instance and static fields are now placed before instance initializer blocks (default order: "static fields", "static initializers", "fields", "instance initializers") 2014-10-28 14:33:56 +04:00
Anna Kozlova f2257025fa extract light method object: create class initializer if there is no place to put initializer (IDEA-131912) 2014-10-27 15:40:03 +01:00
Anna Kozlova a6e35cfd57 calculate void/value lambda compatibility based on valid, non-modified lambda expression 2014-10-27 15:40:01 +01:00
Anna Kozlova a56e52d868 put new variable inside lambda body: check lambda-related types only after lambda body is fixed (EA-62133 - IOE: PsiJavaParserFacadeImpl.createStatementFromText) 2014-10-24 18:36:22 +02:00
Anna Kozlova cd02a08a01 invert boolean parameter: process recursive calls with care (IDEA-131261) 2014-10-22 10:34:44 +02:00
Anna Kozlova e74edb2614 testdata for light extract method 2014-10-18 09:34:44 +02:00
Anna Kozlova cd2d76587a extract light method object: complete array initializer with first element type (IDEA-131435)
(cherry picked from commit 2b66700cb40889d0578426a0ddca6fb0b02f2718)
2014-10-17 21:08:46 +02:00
Anna Kozlova 0dd354b23b testdata fixed
(cherry picked from commit 9746790b321df04d6fa5636cad495b906888a78a)
2014-10-17 21:05:30 +02:00
Anna Kozlova 3881c4a953 shorten refs in new expression (IDEA-129602)
(cherry picked from commit 616e3a99b68439b3e867052aa251e6084a639d77)
2014-10-17 21:04:52 +02:00
Anna Kozlova f9550d4530 safe delete: ensure used static imports are preserved (IDEA-131240)
(cherry picked from commit e4ed1b3bdf3ea55047f0a94fbef1756e9d32c11c)
2014-10-17 21:01:47 +02:00
Anna Kozlova b9c3c82d73 encapsulate fields: ensure that javadoc refs are processed correctly (IDEA-131246)
(cherry picked from commit f6dbf90b9e951c0c8bbaf7085693c601edd30461)
2014-10-17 21:01:36 +02:00
Anna Kozlova 0438d80f4f rename: do not delete containing directory during move/rename (IDEA-130992)
(cherry picked from commit 77712e308bb0edd5b164b4c95c2ad4c8a6a30648)
2014-10-13 19:20:54 +02:00
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