|Get bindings without parsing [message #673445]
||Mon, 23 May 2011 12:43
| Aivar Annamaa
Registered: July 2009
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 12:53]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.12142 seconds