fix critical issue on generate javadocs for interfaces