[java] implements java code completion and java import.