001/*-------------------------------------------------------------------------+ 002| | 003| Copyright (c) 2009-2019 CQSE GmbH | 004| | 005+-------------------------------------------------------------------------*/ 006package eu.cqse.check.framework.core.ruleset; 007 008import java.lang.annotation.Documented; 009import java.lang.annotation.ElementType; 010import java.lang.annotation.Repeatable; 011import java.lang.annotation.Retention; 012import java.lang.annotation.RetentionPolicy; 013import java.lang.annotation.Target; 014 015import org.atteo.classindex.IndexAnnotated; 016 017/** 018 * Ruleset for the MISRA C:2012 standard. 019 */ 020@Documented 021@Retention(RetentionPolicy.RUNTIME) 022@Target(ElementType.TYPE) 023@IndexAnnotated 024@RulesetAnnotation(name = "MISRA C:2012", rules = EMisraC2012Rule.class) 025@Repeatable(RulesetMisraC2012Repeater.class) 026public @interface RulesetMisraC2012 { 027 028 /** The value. */ 029 EMisraC2012Rule value(); 030}