Values of a FieldDoc

If I have a field likeprivate static String[] accountTypes = {"Checking", "Savings", "Credit", "Money Market"}; in the source code, how do I get "Checking", "Savings", "Credit", "Money Market" via javadoc?
[240 byte] By [tarzan68a] at [2007-11-26 17:22:19]
# 1

Javadoc cannot see inside blocks of code.

You could document these using a doc comment:

/**

* Values are: Checking, Savings, Credit, Money Market

*/

private static String[] accountTypes = {

"Checking", "Savings", "Credit", "Money Market"

};

or if this class has a getter to get those values,

you could modify Javadoc to call that getter and

display the values.

-Doug

dhkramera at 2007-7-8 23:50:18 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...