This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Is there some tool or service for finding out how to reach from a certain type to another type using series of method calls?
Here's an example problem:
I'm trying to enhance Eclipse Java editor. I have an object of type ASTNode (abstract syntax tree node) and i want to find out from what file (IResource) this node comes from. Unfourtunately there's no direct way to get it and digging around in Eclipse huge API is not easy.
I'd like to have an API search tool that takes source type and target type as inputs and gives list of method call chains that allow reaching from source type to target.
Max number of calls: 3
TO = Workspace.getResourceProvider(FROM.getAST()).getResource()