Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to mark an ASTNode uniquely ? Even if I rebuild AST Tree the mark wouldn't change?
How to mark an ASTNode uniquely ? Even if I rebuild AST Tree the mark wouldn't change? [message #1271014] Fri, 14 March 2014 03:37
Wang Felix is currently offline Wang FelixFriend
Messages: 3
Registered: January 2014
Junior Member
How to mark an ASTNode uniquely,even if I rebuild AST Tree the mark wouldn't change?
Or,I change the code a little...

Here is an example:
------------------------------
private void method(){
  String str = "test";
  {
     str.toString();
  }
  str.toString();  // I want this one marked
}

-------------------------------
private void method(){
  String str = "test";
  ; //DO NOTHING
  {
     str.toString();
  }
  str.toString();   // I want this one marked
}


How can I get the same mark of "str.toString"?
Thank you~
Previous Topic:Inconsistent Eclipse user experience
Next Topic:Missing java source files
Goto Forum:
  


Current Time: Fri Apr 26 05:37:30 GMT 2024

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

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

Back to the top