convert to java
convert to java