keep api as all java.