boolean isArray;
+ private boolean isShown = true;
+
private final ClassGraph dump;
List<ClassDescriptor> interfaces = new ArrayList<ClassDescriptor>();
*/
private int referenceCount = 0;
- public ClassDescriptor(final Class<? extends Object> clazz, final ClassGraph dump) {
+ public ClassDescriptor(final Class<? extends Object> clazz,
+ final ClassGraph dump) {
this.dump = dump;
fullyQualifiedName = clazz.getName();
return superClassColor;
}
+ public void hide() {
+ isShown = false;
+ }
+
public void indexFields(final Field[] fields) {
for (final Field field : fields) {
if (nameToFieldMap.containsKey(field.getName()))
if (Utils.isSystemPackage(fullyQualifiedName))
return false;
- return true;
+ return isShown;
}
public void registerReference() {