mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Track getClass() calls (IDEA-195220)
GitOrigin-RevId: 2927b603e5192a14c421e33d5cf1a9c3235015df
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4b18e94734
commit
e77596602d
@@ -0,0 +1,11 @@
|
||||
// IDEA-218260
|
||||
class Foo {
|
||||
static void foo(Object bar) {
|
||||
if (!bar.getClass().equals(Foo.class)) {
|
||||
return;
|
||||
}
|
||||
bar.fo<caret>;
|
||||
}
|
||||
void foo() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// IDEA-218260
|
||||
class Foo {
|
||||
static void foo(Object bar) {
|
||||
if (!bar.getClass().equals(Foo.class)) {
|
||||
return;
|
||||
}
|
||||
((Foo) bar).foo();<caret>
|
||||
}
|
||||
void foo() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user