Results 1 to 1 of 1
  1. #1
    sudeep is offline Member
    Join Date
    Aug 2008
    Posts
    1
    Rep Power
    0

    Default Javadocs in Plugin development

    Hi,

    I am a novice plugin developer. I want to infer the Javadoc comments for a method invocation in my active editor (Something similar to the tootip text you see in the eclipse editor).

    I have parsed the code in the active editor using Eclipse's ASTParser. I have also collected the relevant method invocation in the MethodInvocation node of the AST created by parser. How can I infer the Javadoc comments for the same node?

    A bit of exploring of the API suggests that the Javadoc comment can be obtained from the MethodDeclaration instance for the exact same method. Does anyone know how to obtain MethodDeclaration from MethodInvocation? Is there any other way of finding Javadoc from MethodInvocation?

    Thanks,
    Sudeep
    Last edited by sudeep; 08-11-2008 at 09:43 PM. Reason: Typo!

Similar Threads

  1. Replies: 1
    Last Post: 10-02-2009, 10:29 AM
  2. Lost my javadocs
    By orchid in forum Eclipse
    Replies: 3
    Last Post: 04-30-2008, 09:45 PM
  3. JavaDocs
    By Asguarde in forum New To Java
    Replies: 4
    Last Post: 03-15-2008, 04:13 AM
  4. How to configure JavaDocs in Eclipse
    By javaplus in forum New To Java
    Replies: 3
    Last Post: 11-26-2007, 06:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •