private boolean isShown = true;
- private final ClassGraph dump;
+ private final ClassGraph classGraph;
List<ClassDescriptor> interfaces = new ArrayList<ClassDescriptor>();
public ClassDescriptor(final Class<? extends Object> clazz,
final ClassGraph dump) {
- this.dump = dump;
+ classGraph = dump;
fullyQualifiedName = clazz.getName();
dump.nameToClassMap.put(fullyQualifiedName, this);
continue;
final FieldDescriptor fieldDescriptor = new FieldDescriptor(field,
- this, dump);
+ this, classGraph);
}
}
final Method[] methods = clazz.getMethods();
for (final Method method : methods)
- new MethodDescriptor(method, this, dump);
+ new MethodDescriptor(method, this, classGraph);
}
if (Utils.isSystemPackage(fullyQualifiedName))
return false;
+ if (!classGraph.filter.isClassShown(fullyQualifiedName))
+ return false;
+
return isShown;
}