Commit Graph

7 Commits

Author SHA1 Message Date
Tagir Valeev
7e1064ea3c [java-intentions] More preview tests; minor fixes
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
2022-07-29 17:55:13 +00:00
Tagir Valeev
064235a0b3 [java-inspections] IDEA-283015: fix at isSafeLambdaReplacement level (IJ-CR-17732)
GitOrigin-RevId: 07a8235e72509e11a48a2304fbfc82aa637c8cf6
2021-12-02 07:43:00 +00:00
Tagir Valeev
e8c22104a8 [java-inspections] IDEA-283015 IJ suggests replacing x->x with Function.identity() when not appropriate
GitOrigin-RevId: 71bbd3ec7a20dab12c4a5a12233f6fd1ff50ea56
2021-11-25 07:54:55 +00:00
Tagir Valeev
003aa20f96 LambdaCanBeMethodCallInspection: support Java11 Pattern.asMatchPredicate()
IDEA-199626 Suggest Java 11 Pattern.asMatchPredicate() instead of x -> pattern.matcher(x).matches()
2018-09-28 10:56:07 +07:00
Tagir Valeev
596a850fa3 LambdaCanBeMethodCallInspection: support Pattern.negate() case
IDEA-197892 Explicitly negated Predicate::test can be simplified with Predicate::negate
2018-09-19 17:51:26 +07:00
Tagir Valeev
b477b32395 IDEA-186034 Lambda can be method call inspection should not generate code with inference failures 2018-02-02 12:09:53 +07:00
Tagir Valeev
215dabf2ae IDEA-163062 [Java8][Feature] Function.identity() inspection 2016-12-13 16:17:43 +07:00