walk the java code