JavaPatternMatching/resources/insertGenerics/javFiles/TestMutualRecursionWithField.jav

22 lines
284 B
Java

public class TestMutualRecursionWithField {
a;
id(b) {
var c = b;
return main(b,c);
}
setA(x) {
a = x;
return a;
}
m(x,y) {
x = id(y);
return x;
}
main(x,y) {
return m(id(x),setA(y));
}
}