Nic
Nic

Reputation: 3

How to retrieve the value of a parameter in JQAssistant

It is not possible to retrieve the value of a method input parameter.

For annotation the parameters can be read:
MATCH (c:Class)-[:DECLARES]->()-[:ANNOTATED_BY]->(an:Annotation)-[:OF_TYPE]->(:Type{name:"RequestMapping"})
MATCH (an)-[:HAS]->(:Value{name:"value"})-[:CONTAINS]->(v:Value)

What is the best approach to retrieve the value of an input method of a class method?

Upvotes: 0

Views: 112

Answers (1)

Dirk Mahler
Dirk Mahler

Reputation: 1266

Sadly at this time this is not possible with jQAssisant (it would require to extend the Java bytecode scanner with data flow analysis, which is not trivial).

Upvotes: 1

Related Questions