Find path from one type to another (advanced API search)
posted 6 years ago
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()