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