
META-INF.jqassistant-rules.interceptor.xml Maven / Gradle / Ivy
<jqa:jqassistant-rules xmlns:jqa="http://www.buschmais.com/jqassistant/core/analysis/rules/schema/v1.0"> <concept id="interceptor:Interceptor"> <description>Labels all classes annotated by "javax.interceptor.Interceptor" with "Interceptor". </description> <cypher><![CDATA[ MATCH (interceptor:Type:Class)-[:ANNOTATED_BY]->()-[:OF_TYPE]->(interceptorType:Type) WHERE interceptorType.fqn = "javax.interceptor.Interceptor" SET interceptor:Interceptor RETURN interceptor AS Interceptor ]]></cypher> </concept> <concept id="interceptor:Binding"> <description>Labels all annotations annotated by "javax.interceptor.InterceptorBinding" with "Interceptor" and "Binding". </description> <cypher><![CDATA[ MATCH (binding:Type:Annotation)-[:ANNOTATED_BY]->()-[:OF_TYPE]->(bindingType:Type) WHERE bindingType.fqn = "javax.interceptor.InterceptorBinding" SET binding:Interceptor:Binding RETURN binding AS InterceptorBinding ]]></cypher> </concept> </jqa:jqassistant-rules>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy