Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

@requiredParam and @optionalParam tags

843810Jan 7 2002 — edited Jan 15 2002
Dear all,

I tried to implement two additional tags that should be used to identify required and optional parameters. First I thought this must be easy because it should be only a slight extension to the original @param tag.

However, I do not see a possibility to leverage the origninal param tag class. It would be important to reuse the original class because the processing of inlined tags is complicated.

The problem boils down to that in the API of the toString method of the taglet I get no Doc parameter but the ParamTagImpl needs a Doc. In addition the Comment class that also includes a lot of logic concerning the processing of inlined tags also needs a doc.

Can anyone help me with this problem? Maybe someone has already such tags / taglets.

--Stefan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 12 2002
Added on Jan 7 2002
3 comments
423 views