9 lines
620 B
Plaintext
9 lines
620 B
Plaintext
=== on 17 Sep 2015, 09:27:10 Ann Campbell wrote:
|
|
source: \https://twitter.com/CyrilP_tweet/status/644432004340150272?cn=cmVwbHk%3D&refsrc=email
|
|
|
|
=== on 14 Sep 2016, 08:12:35 Ann Campbell wrote:
|
|
From \https://groups.google.com/forum/#!topic/sonarqube/YGMsyzSkeQk:
|
|
|
|
In the past we've used a PMD XPath rule that looks like this "//MethodDeclaration//PrimaryExpression/PrimaryPrefix/Name[@Image='JAXBContext.newInstance'][ancestor::ClassOrInterfaceBodyDeclaration/Annotation/descendant::Name[contains(@Image,'SCOPE_PROTOTYPE')] or not(ancestor::ClassOrInterfaceBodyDeclaration/Annotation/descendant::Name[@Image='Bean'])]"
|
|
|