The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Comments extraction

Posted by ronald on June 14, 2001 at 4:51 AM

Hi

I have a problem wanna want to solve.........

I want to extract the comments about a method in a class just like java doc does.

like i have a method

/** here are comments about the methos
*@param int
*@return int

*/

public int myMethod(int a){

return a;
}


now i have got the class name and method name and other informations using the java.lang.reflection package but i also want to extract its comments or u can say descriptions but how............. a big queston for me...

Now its upto u that u sove my problem....

ronald




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us