mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
[java-decompiler] Fix enclosing class list filtering for anonymous classes and lambdas
GitOrigin-RevId: 91681e75d23725104864a6e2258824bc57c63c80
This commit is contained in:
committed by
intellij-monorepo-bot
parent
329428050b
commit
cda5b2579f
@@ -736,7 +736,7 @@ public class ExprProcessor implements CodeConstants {
|
||||
enclosingClassList.add(0, enclosingClass);
|
||||
}
|
||||
return enclosingClassList.stream()
|
||||
.filter(classNode -> classNode.type != ClassesProcessor.ClassNode.CLASS_ANONYMOUS ||
|
||||
.filter(classNode -> classNode.type != ClassesProcessor.ClassNode.CLASS_ANONYMOUS &&
|
||||
classNode.type != ClassesProcessor.ClassNode.CLASS_LAMBDA
|
||||
).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user