Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Doclet Not Finding Overloaded Methods

Status
Not open for further replies.

YerMom

Programmer
Oct 3, 2006
127
US
I have a doclet that detects methods in a .java file. However what seeems to be happening is that if for example the file has three overloaded methods, the doclet sees just the first and not the second two. Is this expected behavior? Is there anyway to get the doclet to see all three overloaded methods?

Thanks.
 
I got a good night sleep and looked at the doclet API specifications. The MethodDoc interface has a method called overriddenMethod, which I probably need to use to solve my problem. I'll check into this.
 
In case anyone has been wondering about this thread:

I was told that the source code I'm running my doclet against might have some problems, so I created my own mini source code file with overloaded methods and the doclet detected all the methods.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top