I was wondering, is it possible to generate javadoc for public String constants to generate javadoc which contains its content? E.g. For field:
public static final String MENU = "menu_2";
it would generate javadoc like this:
 /**
  * value: menu_2
  */
                You can reference it directly in the comment:
/**
 * MENU static field whose value is: {@value #MENU}
 */
public static final String MENU = "menu_2";
                        Use value tag /**value: {@value}*/. See this link for javadoc tags: http://docs.oracle.com/javase/6/docs/technotes/tools/windows/javadoc.html#javadoctags.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With