|
|
@@ -165,9 +165,11 @@
|
|
|
<priority>3</priority>
|
|
|
<properties><property name="xpath" pluginname="true"><value>
|
|
|
<![CDATA[
|
|
|
- //MethodDeclaration/MethodDeclarator[
|
|
|
- not(matches(@Image,'^(m_|\$)?([a-z][a-zA-Z0-9]*)$'))
|
|
|
- ]
|
|
|
+ //ClassOrInterfaceBodyDeclaration
|
|
|
+ [not(Annotation/MarkerAnnotation/Name[@Image='Test'])]
|
|
|
+ [not(Annotation/MarkerAnnotation/Name[@Image='InterfaceTest'])]
|
|
|
+ /MethodDeclaration/MethodDeclarator
|
|
|
+ [not(matches(@Image,'^(m_|\$)?([a-z][a-zA-Z0-9]*)$'))]
|
|
|
]]>
|
|
|
</value></property></properties>
|
|
|
</rule>
|