Commit Graph
102 Commits
Author SHA1 Message Date
Anna.Kozlova 36ee7203f6 anonym -> lambda 2016-05-18 12:04:12 +02:00
Bas Leijdekkers 7582e25009 SSR: find diamond types with pattern with explicit types 2016-04-25 18:48:31 +02:00
Bas Leijdekkers 48a292b315 SSR: cleanup predefined java templates 2016-04-25 18:48:31 +02:00
Bas Leijdekkers ddecc8c93c SSR: make simple generic method pattern work 2016-04-25 18:48:30 +02:00
Bas Leijdekkers d9288e4b42 SSR: find parameterized method calls (IDEA-154740) 2016-04-25 09:24:43 +02:00
Bas Leijdekkers 9f4d5f85ae SSR: allow expression constraints on complete match 2016-03-26 15:38:01 +01:00
Bas Leijdekkers 09f2422699 SSR: better types for script variables 2016-03-26 15:37:58 +01:00
Bas Leijdekkers 9ecde83fc9 SSR: report many more java pattern problems in search dialog (IDEA-126794) 2016-03-07 14:45:27 +01:00
Bas Leijdekkers 876932b1bb SSR: fix finding packageLocal and instance fields 2016-03-05 11:46:17 +01:00
Bas Leijdekkers 613871ca43 SSR: fix bad psi tree when replacing parameter 2016-03-05 11:46:15 +01:00
Bas Leijdekkers c7595ad7b4 SSR: fix exception when search pattern method, replacement pattern method and replaced method have no body 2016-03-05 11:46:15 +01:00
Bas Leijdekkers 50e7b23972 IDEA-152313 (Structural replace with local variable definition leads to inconsistent state with IDEA error highlighter) 2016-03-05 11:46:14 +01:00
Alexey Kudravtsev e549fba03e cleanup 2016-02-17 18:20:42 +03:00
Bas Leijdekkers ec56e22ca0 SSR: small simplification 2015-11-06 20:55:36 +01:00
Bas Leijdekkers c2ef9b756d SSR: cleanup MatchResultImpl & related 2015-11-06 20:55:35 +01:00
Bas Leijdekkers 7312c98275 SSR: test that the type of variables in script are as expected 2015-11-06 20:55:35 +01:00
Anna Kozlova 062fcda742 fix unsorted array search 2015-11-06 16:21:29 +01:00
Bas Leijdekkers 894ccaf10e SSR: make scripting variable types a little easier 2015-11-04 21:16:35 +01:00
Bas Leijdekkers cde46ffdc1 IDEA-146951 (Structural Search fails with '<' in search in pattern) 2015-10-28 22:21:56 +01:00
Bas Leijdekkers 7aa7a0b082 SRR: easier searching for methods 2015-10-06 17:08:48 +02:00
Bas Leijdekkers 247b885ce9 SRR: improve java array declaration matching 2015-10-02 16:16:42 +02:00
Bas Leijdekkers eb4b2613f7 SSR: cleanup java type matching 2015-10-02 16:16:42 +02:00
Bas Leijdekkers cc5281e6e3 SSR: when replacing pattern method without body, copy body from matched element (part of IDEA-88738) 2015-09-30 17:53:27 +02:00
Bas Leijdekkers f5c8a63044 SSR: match multiple fields declared in single declaration correctly in incomplete code (IDEA-CR-4531) 2015-09-29 12:03:07 +02:00
Bas Leijdekkers ad8fb6a043 SSR: cleanup collection of named elements 2015-08-03 23:46:29 +02:00
Roman Shevchenko 921bf31337 Cleanup (formatting) 2015-07-23 18:31:55 +02:00
Roman Shevchenko 0afda74389 [java] Java 9's try-with-resources in structural search 2015-07-22 16:28:53 +02:00
Bas Leijdekkers 758d550979 IDEA-141680 (SSR "use static import if possible" corrupts generics invocations) 2015-06-25 15:41:11 +02:00
Bas Leijdekkers 4de06c31fb SSR: keep order of modifiers when replacing annotation 2015-06-12 17:35:41 +02:00
Bas Leijdekkers af42d7dffd SSR: replace members correctly (IDEA-127444 & IDEA-127835) 2015-06-03 22:50:09 +02:00
Bas Leijdekkers b2e25c361e SSR: don't forget unmatched class content (Java) 2015-06-03 22:50:09 +02:00
Bas Leijdekkers 0761b6dfc3 SSR: proper replacing for multiple (Java) variables in a single declaration 2015-06-03 22:50:08 +02:00
Bas Leijdekkers 8190148d3e SSR: fix matching multiple fields in a single declaration 2015-06-03 22:50:08 +02:00
Bas Leijdekkers 10fe972f35 SSR: do not generate illegal modifier combinations when replacing 2015-05-31 20:49:51 +02:00
Bas Leijdekkers f2f46e97ef SSR: improve replacement of polyadic expressions and assertion statements 2015-05-30 15:36:42 +02:00
Bas Leijdekkers c6213bcc04 SSR: keep unmatched resource lists and finally blocks when replacing try/catch statements 2015-05-29 18:26:16 +02:00
Bas Leijdekkers 8bb61bd162 SSR: replacement: cleanup handling of no substitution 2015-05-29 18:26:16 +02:00
Bas Leijdekkers a8b486d275 SSR: cleanup 2015-05-29 18:26:15 +02:00
Bas Leijdekkers 042abe8ed5 SSR: improve polyadic expression matching 2015-05-27 16:40:29 +02:00
Bas Leijdekkers 007e9e7ce4 SSR: lenient matching if element is not present in pattern 2015-05-25 21:00:57 +02:00
Bas Leijdekkers 75afac2e7a SSR: Match multi-catch correctly 2015-04-22 18:58:29 +02:00
Bas Leijdekkers d966c2eb07 IDEA-129079 (Using structural search to find multiply try/catch/catch statements) 2015-04-22 18:58:29 +02:00
Bas Leijdekkers f5e49637bc IDEA-129766 (Structural replace of try/finally block deletes catch block) 2015-04-22 11:59:02 +02:00
Bas Leijdekkers 8d049b8d7c SSR: improve java array initializer matching and add more tests 2015-04-16 17:41:36 +02:00
Bas Leijdekkers e983730fa2 SSR: fix java array initializer matching (IDEA-138047) 2015-03-23 17:31:09 +01:00
Bas Leijdekkers 01b9c80c63 SSR: existing templates can have properties on Complete Match (enables e.g. more advanced html/xml patterns) 2015-03-05 11:43:46 +01:00
Bas Leijdekkers 1fd7a91990 SSR: Constraints only allowed on first of variable 2015-03-05 11:43:45 +01:00
Bas Leijdekkers 0534f1a9a6 SSR: no need to look in supers when searching for singletons 2015-03-05 11:43:45 +01:00
Bas Leijdekkers 46b5a7bf42 SSR: stricter string constraints parsing -> disallow more than one target per pattern 2015-02-24 17:14:00 +01:00
Bas Leijdekkers 076f4e4551 SSR: more lenient if statement matching 2015-02-23 19:50:09 +01:00