Commit Graph

3 Commits

Author SHA1 Message Date
Tagir Valeev
49f4397ba0 [java-intentions] More preview tests
GitOrigin-RevId: 4d6a5487576dbbc4aca9c89b067eec8218aff686
2022-07-29 17:55:15 +00:00
Tagir Valeev
c81981ee75 [java-intentions] Rename 'Wrap using' fixes with 'Adapt using'.
Not everything is actually wrapping. E.g., converting 'long' to 'int' via 'Math.toIntExact' is definitely not wrapping. The 'adapt' word looks more abstract and suitable for all the cases.

GitOrigin-RevId: 33e56b6e16a0362598ac8e3fc92ef2808a77dbe0
2022-04-06 15:56:09 +00:00
Tagir Valeev
2d6d319d1e [java-intentions] Adapt type using no-arg instance methods
Part of IDEA-242022 WrapWithAdapterMethodCallFix.Wrapper improvement

GitOrigin-RevId: 4e4bac1a4f3942589e45970a61478e71bf08482c
2022-04-06 15:56:06 +00:00