blob: 32a5cdbed5d8ba4e001dc888698c80569b0795d1 [file] [log] [blame]
package p;
import java.io.IOException;
public class Foo extends Bar {
/**
* @param bar
* @throws IOException
*/
public static void bar(Bar bar) throws IOException {
bar.foo();
}
protected void foo() {
}
void myFoo() throws Exception {
Foo.bar(this); // <-- invoke here
Foo.bar(new Bar());
}
}