forked from JavaTX/JavaCompilerCore
40 lines
430 B
Java
40 lines
430 B
Java
|
|
class A {
|
|
|
|
A f1;
|
|
|
|
A f2;
|
|
|
|
|
|
|
|
mt6(haus2) {
|
|
nummer = haus.hausnummer;
|
|
val = nummer.value;
|
|
return val;
|
|
}
|
|
|
|
|
|
mt1(x) { return x; }
|
|
|
|
mt2(x) { return x.field ; }
|
|
|
|
mt3(a,b,c) { return a.add(b).sub(c); }
|
|
|
|
mt4(a,b,c) {
|
|
r1 = a.add(b);
|
|
r2 = r1.sub(c);
|
|
return r2;
|
|
}
|
|
|
|
|
|
mt5(haus) { return haus.hausnummer.value; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|