Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » getStartPosition 'ignoring' JavaDoc
getStartPosition 'ignoring' JavaDoc [message #775389] Thu, 05 January 2012 22:05 Go to next message
Mauro Flores is currently offline Mauro FloresFriend
Messages: 84
Registered: September 2009
Location: Brasil
Member
I'm implementing an AstVisitor.
When a TypeDeclaration is visited, for instance, the javadoc characters are being 'ignored' by the property getStarPosition.

The following classes

package test;
/**
 */
public class A {

}

package test;
/** 
 * 
 * bla bla bla 
 * 
 */
public class A {

}


Returns the same value for start position for TypeDeclarion A: 33.

Is there a way to obtain the start position considering the javadoc?

Thanks. Mauro.

Re: getStartPosition 'ignoring' JavaDoc [message #776877 is a reply to message #775389] Mon, 09 January 2012 12:54 Go to previous message
Mauro Flores is currently offline Mauro FloresFriend
Messages: 84
Registered: September 2009
Location: Brasil
Member
Ignore this post.

JavaDoc is part of TypeDeclaration.
Previous Topic:Eclipse Galileo Signs Out
Next Topic:How to Collect Java Program Information After Compilation
Goto Forum:
  


Current Time: Thu Apr 25 16:07:27 GMT 2024

Powered by FUDForum. Page generated in 0.02622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top