How to visit method invoke in foreach loop by sonar custom rule api

We try to create a custom rule plugin by sonar api, such as: Do not invoke RPC in foreach loop.

How can I visit all method invoke in foreach loop fast?

The follow is my version message:

<sonarqube.version>7.9</sonarqube.version>
<sonarjava.version>6.8.0.23379</sonarjava.version>

Found it. See: Can't reach informations needed in a for statement

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.