blob: b823759e33a5d2033a4e74ad83f0579de6f3af5e [file] [log] [blame]
import androidx.annotation.DrawableRes;
public class InferFromInheritance {
public interface Interface {
int something(@DrawableRes int foo);
}
public static class Parent {
@DrawableRes
public int foo(int foo) {
return foo;
}
}
public static class Child extends Parent implements Interface {
@DrawableRes
@Override
public int foo(int foo) {
return super.foo(foo);
}
@Override
public int something(@DrawableRes int foo) {
return 0;
}
}
}