mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +01:00
34 lines
378 B
Java
34 lines
378 B
Java
public class Test {
|
|
|
|
void inheritMe() { }
|
|
|
|
}
|
|
|
|
interface ParentIf {
|
|
|
|
void inheritedInterfaceMethodJ();
|
|
|
|
}
|
|
|
|
interface ChildIf extends ParentIf {
|
|
|
|
|
|
}
|
|
|
|
class Child extends Test {
|
|
|
|
public static void user() {
|
|
|
|
Child c = new Child();
|
|
c.toString();
|
|
c.equals(c);
|
|
c.hashCode();
|
|
c.inheritMe();
|
|
ChildIf c2 = null;
|
|
c2.inheritedInterfaceMethodJ();
|
|
|
|
}
|
|
|
|
}
|
|
|