Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-dev] org.eclipse.jdt.core.dom binding variables

I have been using org.eclipse.jdt.core.dom to do some static analysis of
Java code and I have two questions:

(1) Does a description of the limitations or behavior of "binding"
exist? I am noting that sometimes package names in import statements
don't resolve (e.g., I get null). In addition sometimes when I examine a
AST almost nothing binds (I have been examining code like Jakarta Ant
and Jakarta Tomcat so out of thousands of files one or two isn't bad:). 
Are there known limits or should I file bugs? I did file one bug where a
method was generating a null pointer exception, see:

http://bugs.eclipse.org/bugs/show_bug.cgi?id=20865

(2) Is jdt.core.jdom built on top of jdt.core.dom? Can you get to the
underlying jdom model?  I guess this is a general question trying to
understand the relationship between the high-level sorta global model in
jdt.core the AST model in jdt.core.dom and the model in jtd.core.jdom.

Thanks,
Tim Halloran
Carnegie Mellon University


Back to the top