mirror of https://github.com/dspinellis/UMLGraph
Hide view classes (using the same code path as @hidden)
This commit is contained in:
parent
567430483d
commit
eb6a80e6a5
|
|
@ -335,6 +335,9 @@ class ClassGraph {
|
|||
/** Return true if c has a @hidden tag associated with it */
|
||||
private boolean hidden(Doc c) {
|
||||
Tag tags[] = c.tags("hidden");
|
||||
if (tags.length > 0)
|
||||
return true;
|
||||
tags = c.tags("view");
|
||||
if (tags.length > 0)
|
||||
return true;
|
||||
return opt.matchesHideExpression(c.toString());
|
||||
|
|
|
|||
|
|
@ -335,6 +335,9 @@ class ClassGraph {
|
|||
/** Return true if c has a @hidden tag associated with it */
|
||||
private boolean hidden(Doc c) {
|
||||
Tag tags[] = c.tags("hidden");
|
||||
if (tags.length > 0)
|
||||
return true;
|
||||
tags = c.tags("view");
|
||||
if (tags.length > 0)
|
||||
return true;
|
||||
return opt.matchesHideExpression(c.toString());
|
||||
|
|
|
|||
Loading…
Reference in New Issue