mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 01:09:46 +07:00
IDEA-303240 Resolve for parenthesized patterns
GitOrigin-RevId: 7e3cd33ea7abbe2acd8e7821a844df680e0c5a65
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e3ef393494
commit
40a07679bb
@@ -5,6 +5,11 @@ class X {
|
||||
System.out.println(s.trim());
|
||||
}
|
||||
|
||||
void ifParenthesizedPattern(Object obj) {
|
||||
if (!(obj instanceof ((String s)))) return;
|
||||
System.out.println(s.trim());
|
||||
}
|
||||
|
||||
void ifElse(Object obj) {
|
||||
if (!(obj instanceof String s)) return;
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user