More implementation for java parser.