Custom taglet and inline taglets

W

Wald

Hi group,

I've been altering the taglet examples from the Sun website to suit
my own needs. Goal is to have an extra "@usedby" javadoc tag to
record which other methods call a certain method.

You can find the taglet examples here (one line):
http://java.sun.com/j2se/1.4.1/docs/tooldocs/javadoc/taglet/overvie
w.html

There isn't really a problem with the code, it works, but the
problem is that I can't use other inline javadoc tags _within_ my
@usedby tag.

Example comment:

/**
* @usedby {@link Class1#method1(int arg1) Class1.method1()}<br/>
* {@link Class2#method2() Class2.method2()}
*/

The resulting javadoc doesn't show me clickable links, but just
reproduces literally the @link inline tag, with braces and
everything:

Used By:
{@link Class1#method1(int arg1) Class1.method1()}
{@link Class2#method2() Class2.method2()}


So the question:

how to make my taglet understand other inline tags _without_
implementing it all by myself?

Thanks in advance,
Wald
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top