In the code base that I am using Doxygen with there are many classes
that are of the form:
=20
public static class Severity implements java.io.Serializable
{
public static final int INDETERMINATE =3D 0;
public static final int CRITICAL =3D 1;
public static final int MAJOR =3D 2;
public static final int MINOR =3D 3;
public static final int WARNING =3D 4;
public static final int CLEARED =3D 5;
}
=20
After running Doxygen I get a class reference that lists the attributes.
There are two additional things that I think would be nice to happen but
am not sure if Doxygen already does, or someone is working on, or I
could implement, or is not really useful or doable.
=20
One thing would be for all uses of any of the static public attributes
in other files to link back to the definition in the generated class
reference like function calls do.
=20
The other is for the class reference to have links to each use of each
static public attribute in other generated class references. Currently
the Member Data Documentation for one of the attributes looks something
like:
=20
final int com.Example Severity.INDETERMINATE =3D 0 [static]
Definition at line 34 of file AlarmDefine.java.
I'm thinking of something like:
=20
final int com.Example.Severity.INDETERMINATE =3D 0 [static]
Definition at line 34 of file Define.java.
Usage at line 78 of Mapper.java
Usage at line 238 of Mapper.java
Usage at line 21 of Processor.java
=20
Do these ideas make sense? Would they be useful in general?
=20
Thanks for any info or feedback,
=20
John Morey
|