Hello, I’m developing a custom plugin for Java. For certain metrics I need to locate in the code the methods that exist. I found on the sonar-java github this, but it doesn’t work:
METHOD_PATTERN ^([a-zA-Z_0-9\$]+[\.[a-zA-Z_0-9\$]+](?:\[\])?)#(\w+)(\()?
CLASS_PATTERN ^(\w+[\.\w+](?:\[\])?)(\()?
Can someone help me or guide me or tell me why this is wrong? or tell me where the patterns are in the git hub code