fix accidental removal of Java wizard code

in commit 34bcf9b498bccb5c "java: remove dead methods"

Change-Id: Id6d15248f0410a78afa803a72ba3ff0b6a8e7635