Don't grab sub-classes
This commit is contained in:
parent
b8de529b25
commit
3db1f06402
@ -36,7 +36,7 @@ public class ClassGetter {
|
||||
} else {
|
||||
System.out.println("Not sure how you got here: " + resource.getPath());
|
||||
for (File f : new File(resource.getPath() + "/" + pkgname.replace(".", "/")).listFiles()) {
|
||||
if (!f.getName().endsWith(".class")) {
|
||||
if (!f.getName().endsWith(".class") || f.getName().contains("$")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user