Get the fully-qualified name of a inner class
public class Main { public static void main(String[] argv) throws Exception { Class cls = java.util.Map.Entry.class; String name = cls.getName(); System.out.println(name); } }