
META-INF.jqassistant-rules.decorator.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdi Show documentation
Show all versions of cdi Show documentation
Plugin for jQAssistant to be able to scan and to
analyze CDI related artifacts.
The newest version!
<jqassistant-rules xmlns="http://schema.jqassistant.org/rule/v1.10" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schema.jqassistant.org/rule/v1.10 http://schema.jqassistant.org/rule/jqassistant-rule-v1.10.xsd"> <concept id="decorator:Delegate"> <description>Labels all fields annotated annotated by @javax.decorator.Delegate with "Decorator" and "Delegate". </description> <cypher><![CDATA[ MATCH (delegate:Field)-[:ANNOTATED_BY]->()-[:OF_TYPE]->(delegateType:Type) WHERE delegateType.fqn="javax.decorator.Delegate" SET delegate:Decorator:Delegate RETURN delegate AS Delegate ]]></cypher> </concept> <concept id="decorator:Decorator"> <requiresConcept refId="decorator:Delegate"/> <description>Labels all types annotated by @javax.decorator.Decorator with "Decorator". </description> <cypher><![CDATA[ MATCH (decorator:Type)-[:ANNOTATED_BY]->()-[:OF_TYPE]->(decoratorType:Type) WHERE decoratorType.fqn="javax.decorator.Decorator" SET decorator:Decorator RETURN decorator AS Decorator ]]></cypher> </concept> </jqassistant-rules>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy