Get bindings without parsing [message #673445] |
Mon, 23 May 2011 16:43 |
Aivar Annamaa Messages: 33 Registered: July 2009 |
Member |
|
|
Hi
All articles I've found about JDT bindings deal with parsing.
Is it possible to get ITypeBinding-s or IMethodBindings from Java Model (ITypeHierarchy, IType, IMethod)?
I want to construct a graph showing how different types (available both in source and libraries) are related (the graph could tell the user eg. that you can move from ICompilationUnit to java.io.File using "cUnit.getUnderlyingResource().toFile()"). I could also answer current question using that graph
I need bindings to resolve "simple" type names (eg. IMethod.getParameterTypes may give unqualified type names) and also for determining whether a method is declared in that type or just overridden.
[Updated on: Mon, 23 May 2011 16:53] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02679 seconds