Closed bbottema closed 5 years ago
Actually it's trickier than I thought. With @value
, a field can be referenced implicitly without "#". I'll account for this scenario as well.
How about this case from the documentation?
When
{@value}
is used (without any argument) in the doc comment of a static field, it displays the value of that constant:
/**
* The value of this constant is {@value}.
*/
public static final String SCRIPT_START = "<script>"
Nice, I didn't know about that one. I always used to qualify the constant and get a warning about it :)
I'll account for this scenario as well.
SeeAlsoJavadoc now supports all three modes and works for Methods (#32). I have not touched the parsing for {@see} tags on Classes, so that probably still only works with links (separate issue though).
This was a quick implementation, but I just realized that the SeeAlsoJavadoc
class might be better off as an interface or abstract class with a generic and then a subclasses for each type. Just give it some thought.
Current implementation already works fine though (for methods level {@see} tags).
Hi @dnault, I'm finishing up on my usage of this library and it is shaping up very nicely. This library is a life saver for me, but I do need these last changes for that. Are you planning on merging and releasing in the nearby future?
Hi @bbottema, thanks for the prod. Version 0.9.0 with your changes is released and available from Maven Central.
See #28 and #32.