java: Remove unnecessary java.lang prefix
java: Reduce visibility of internal methods
java: Use Arrays.toString to properly convert arrays