Hello SonarQube Community,
I recently started developing my custom plugin for sonarqube and successfully completed one development. Now I wanted to develop another plugin and the rule for this plugin is based on hibernate framework method signature. but when I try to print the method name (eg:findById)
using MethodInvocationTree(methodinvocationTree.symbol().name)
it is printing !unknownmethod!
.
i have added Hibernate framework in the classpath of the project using maven.
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.4.15.Final</version>
<scope>provided</scope>
</dependency>
if someone know how to find the method name for hibernate then please help.
Thank you