Commit Graph
89 Commits
Author SHA1 Message Date
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
Bas Leijdekkers 102924971c SSR: fix replacing for with foreach 2015-02-20 14:17:05 +01:00
Bas Leijdekkers 4e010f8885 SSR: fix replacing/deleting simple annotations 2015-02-17 16:33:54 +01:00
Bas Leijdekkers 89e8f7a2ae SSR: fix method javadoc matching (second part of IDEA-126909) 2015-02-12 22:23:29 +01:00
Bas Leijdekkers 2c686dff7a SSR: fix field javadoc matching (part of IDEA-126909) 2015-02-12 22:23:29 +01:00
Bas Leijdekkers 1c0a734b95 SSR: match annotated instanceof expression correctly 2015-02-11 16:37:08 +01:00
Bas Leijdekkers 7d1c0fcf95 EA-64632 (NPE: JavaMatchingVisitor.matchType) 2015-02-09 17:53:31 +01:00
Bas Leijdekkers 52374777cc SSR: operator assignment is also read access 2015-02-09 17:15:31 +01:00
Bas Leijdekkers a9d14abc4a SSR: simpler language check 2015-01-12 09:14:36 +01:00
Bas Leijdekkers 88091efcbf SSR: find annotations in more places 2015-01-07 13:49:53 +01:00
Bas Leijdekkers dea237b049 SSR: Find annotation on package statement 2015-01-07 11:54:13 +01:00
Bas Leijdekkers 28653758fd SSR: expand search for "formal argument type of the method" to expected type 2015-01-06 14:45:32 +01:00
Bas Leijdekkers 3751017284 IDEA-128435 (SSR searches case sensitively when not instructed to do so) 2015-01-05 10:53:32 +01:00
Bas Leijdekkers 97104a5c85 SSR: remove unneeded method parameter 2015-01-01 19:08:40 +01:00