I scanned my Java code base with jqassistant into a neo4j library, and I'd like to get all calls (also transitive) to a certain method methodname
. I guess it something like this:
MATCH
(c:Class)-[:DECLARES]-(m:Method)-[:INVOKES*0..]-
(v:Method {signature: 'javax.path methodname(argument)'})
RETURN DISTINCT c.fqn, m.name, m.signature
Currently, it doesn't seem like the answer is really complete. I only get methods from the same class as methodname
, where it is direct calls to the method.
What is the correct syntax?