mirror of https://github.com/dspinellis/UMLGraph
Filter-out static initializer method from classes
Submitted-by: Andreas Studer
This commit is contained in:
parent
cbc51f5ed5
commit
84fa647445
|
|
@ -19,6 +19,7 @@
|
|||
<li>Support the -link flag in the same way as the standard doclet, in order to populate
|
||||
the api doc map, used to generate image maps with links to associated external classes.
|
||||
</li>
|
||||
<li> Filter-out the static initializer method from classes</li>
|
||||
</ul>
|
||||
</dd>
|
||||
|
||||
|
|
|
|||
|
|
@ -300,6 +300,9 @@ class ClassGraph {
|
|||
for (MethodDoc md : m) {
|
||||
if (hidden(md))
|
||||
continue;
|
||||
// Filter-out static initializer method
|
||||
if (md.name().equals("<clinit>") && md.isStatic() && md.isPackagePrivate())
|
||||
continue;
|
||||
stereotype(opt, md, Align.LEFT);
|
||||
String op = visibility(opt, md) + md.name();
|
||||
if (opt.showType) {
|
||||
|
|
|
|||
|
|
@ -300,6 +300,9 @@ class ClassGraph {
|
|||
for (MethodDoc md : m) {
|
||||
if (hidden(md))
|
||||
continue;
|
||||
// Filter-out static initializer method
|
||||
if (md.name().equals("<clinit>") && md.isStatic() && md.isPackagePrivate())
|
||||
continue;
|
||||
stereotype(opt, md, Align.LEFT);
|
||||
String op = visibility(opt, md) + md.name();
|
||||
if (opt.showType) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue