java Programming Glossary: classnames
How to get names of classes inside a jar file? http://stackoverflow.com/questions/15720822/how-to-get-names-of-classes-inside-a-jar-file a Scanning JAR files manually In this option we'll fill classNames with the list of all Java classes contained inside a jar file.. inside a jar file at path to jar file.jar . List String classNames new ArrayList String ZipInputStream zip new ZipInputStream new.. className.setLength className.length .class .length classNames.add className.toString Option b Using specialized reflections..
Find out which classes of a given API are used http://stackoverflow.com/questions/3734825/find-out-which-classes-of-a-given-api-are-used extends Remapper private final Set super String classNames public ClassNameRecordingRemapper Set super String classNames.. public ClassNameRecordingRemapper Set super String classNames this.classNames classNames @Override public String mapType String.. Set super String classNames this.classNames classNames @Override public String mapType String type classNames.add..
|