class Test { private int myFoo; public int getFoo() { return myFoo; } public void setFoo(int foo) { myFoo = foo; } }