mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-31 19:50:55 +07:00
18 lines
340 B
Java
18 lines
340 B
Java
public class Util2 {
|
|
void foo(XmlAttribute o ) {
|
|
if (o instanceof XmlAttributeImpl) {
|
|
o.getpar<caret>
|
|
}
|
|
}
|
|
}
|
|
|
|
interface PsiElement {
|
|
PsiElement getParent();
|
|
}
|
|
interface XmlAttribute extends PsiElement {}
|
|
class XmlAttributeImpl implements XmlAttribute {
|
|
@Override
|
|
public PsiElement getParent() {
|
|
return null;
|
|
}
|
|
} |