Commit Graph
14 Commits
Author SHA1 Message Date
Anna.Kozlova 9863deb8d9 introduce functional parameter: exclude only selection range from used parameters check as for functional interfaces the whole code block is treated as selection's parent (IDEA-154299) 2016-09-27 09:22:01 +02:00
Anna.Kozlova 4ad5c2006c introduce functional parameter from substring
EA-80674 - AIOOBE: IntroduceParameterHandler.introduceStrategy
2016-03-17 21:25:32 +01:00
Anna Kozlova e426d5ac3a introduce functional: don't treat all parameters as ignored cause they could belong to for loops, nested classes not available at call site, etc 2015-12-14 10:30:48 +01:00
Anna Kozlova 45c5c2163f extract functional parameter: ensure final inside anonymous, no additional qualifier (IDEA-138895) 2015-04-08 12:06:00 +02:00
Anna Kozlova 574577fe73 introduce functional parameter: do not fold as functional interface creation would be in the place where local vars are not available 2015-01-15 10:25:52 +01:00
Anna Kozlova 8cc6072e73 introduce functional parameter: ignore parameters of containing method as they are available at call site 2014-12-15 12:13:30 +01:00
Anna Kozlova 9b4cacf341 functional interface suggester: check return types and try to infer 2014-12-12 19:28:55 +01:00
Anna Kozlova 124c957b7c introduce functional parameter: ensure resulted method non-static 2014-12-12 19:28:52 +01:00
Anna Kozlova 474e0fef6f introduce code block parameter: filter out functional interfaces which are not compatible by thrown types 2014-12-11 11:16:45 +01:00
Anna Kozlova 1053a96872 introduce code block parameter: extract method call with conditional exit 2014-12-11 11:16:44 +01:00
Anna Kozlova 3d1f3bf386 introduce code block parameter: extract from code block 2014-12-10 16:37:46 +01:00
Anna Kozlova 380a115d70 introduce code block parameter: shorten class refs 2014-12-10 16:05:59 +01:00
Anna Kozlova 4889becd80 introduce code block parameter: try to infer SAM type by extracted method parameter types 2014-12-10 16:05:58 +01:00
Anna Kozlova dfc7e8cb61 introduce parameter: allow to introduce parameter from code block (IDEA-81166) 2014-12-10 16:05:56 +01:00