- private static final List<String> blacklistedClasses = new ArrayList<String>();
-
- private static final List<String> whitelistedClasses = new ArrayList<String>();
+ /**
+ * This class implements filter of classes that will be included or excluded
+ * from resulting graph.
+ *
+ * Filtering is done by lists of whitelist and blacklist patterns using
+ * wildcards.
+ *
+ * Filtering logic is such that if at least single whitelist entry is
+ * defined then every class that is not whitelisted is automatically
+ * excluded from graph.
+ *
+ * Otherwise every class in included in graph that is not blacklisted.
+ */
+
+ private final List<String> blacklistClassPatterns = new ArrayList<String>();
+
+ private final List<String> whitelistClassPatterns = new ArrayList<String>();