JDT ASTParser to get the value of a string field

Posted by Yasko on Stack Overflow See other posts from Stack Overflow or by Yasko
Published on 2010-06-04T20:17:10Z Indexed on 2010/06/05 21:02 UTC
Read the original article Hit count: 179

Filed under:
|
|
|

Is there a way to use jdt ASTParser to get the value of a String field declared in a java file. Actually what I need is to resolve any possible dependencies from other classes e.g.
public String str = "somethig"+SomeTherClass.SOMETHING_ELSE.

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about parser