9 lines
618 B
Plaintext
9 lines
618 B
Plaintext
=== On 2015-09-17T09:27:10Z Ann Campbell Wrote:
|
|
source: \https://twitter.com/CyrilP_tweet/status/644432004340150272?cn=cmVwbHk%3D&refsrc=email
|
|
|
|
=== On 2016-09-14T08:12:35Z 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'])]"
|
|
|