A variant of Rochambeau for Java Class