public class FieldTphConsMeth { public a; public FieldTphConsMeth(c) { a = id(c); } public id(b) { return b; } public setA(x) { a = x; return a; } public m(x,y) { x = id(y); } /*m2(x,y) { x = setA(y); return x; }*/ }