Update JavaFqnResolver class in according the latest API changes