forked from JavaTX/JavaCompilerCore
15 lines
216 B
Java
15 lines
216 B
Java
import java.lang.Object;
|
|
|
|
interface Visitor {
|
|
public void visit(Object obj);
|
|
public void visit(ClassA a);
|
|
}
|
|
|
|
class ClassA {
|
|
void accept(Visitor v) {
|
|
v.visit(this);
|
|
}
|
|
}
|
|
|
|
public class Bug332 {
|
|
} |