Use find-usage feature programmatically at compile-time with Maven

Answered

Hello everyone, i'm developping a feature that scan a specific annotation, and in a second step look for a methods that calls a specific object method wich i can already do (using find usage of intellij).

Now i want to implement this feature to scan the specific call i want but with a maven plugin that i'm developping, but i have no clue of how to scan that specific call looking for usages and calls-hierarchy.

Can you help me or give me ideas about how to use this feature ( by starting with a maven dependency maybe ?) 

Thank you all in advance.

0
1 comment

A Maven plugin cannot access functionality from IDE/PSI.

0

Please sign in to leave a comment.