Update java.pp

Modified class declaration