mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
[java-inspections] LambdaCanBeMethodReferenceInspection: do not suggest ::isInstance for parameterized classes
Fixes EA-429448 - AE: LambdaCanBeMethodReferenceInspection.lambda$getLambdaToMethodReferenceConversionCandidate$0 GitOrigin-RevId: 71c796f587168bff0990bcff7369f7b189d5bede
This commit is contained in:
committed by
intellij-monorepo-bot
parent
143ee38357
commit
9a26cb1f10
@@ -0,0 +1,10 @@
|
||||
// "Replace lambda with method reference" "false"
|
||||
class X {
|
||||
static class A<X> {
|
||||
class B {}
|
||||
}
|
||||
|
||||
void test() {
|
||||
Predicate<Object> pred = o -> o <caret>instanceof A<?>.B;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user