(Set<String> classes, String className)
| 44 | } |
| 45 | |
| 46 | protected void add(Set<String> classes, String className) { |
| 47 | if ((className.startsWith(pkg)) && (className.endsWith(".class"))) { |
| 48 | boolean add = recur ? true : className.substring(pkg.length() + 1).indexOf("/") < 0; |
| 49 | if (add) classes.add(className.substring(0, className.length() - 6).replace('/', '.')); |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | protected Set<String> getClassesFromJAR(String path) throws IOException { |
| 54 | Set<String> classes = new HashSet<String>(); |