View Javadoc
1   /*******************************************************************************
2    * Portions created by Sebastian Thomschke are copyright (c) 2005-2011 Sebastian
3    * Thomschke.
4    * 
5    * All Rights Reserved. This program and the accompanying materials
6    * are made available under the terms of the Eclipse Public License v1.0
7    * which accompanies this distribution, and is available at
8    * http://www.eclipse.org/legal/epl-v10.html
9    * 
10   * Contributors:
11   *     Sebastian Thomschke - initial implementation.
12   *******************************************************************************/
13  package net.sf.oval.configuration.annotation;
14  
15  import java.lang.annotation.Annotation;
16  import java.lang.annotation.Documented;
17  import java.lang.annotation.ElementType;
18  import java.lang.annotation.Retention;
19  import java.lang.annotation.RetentionPolicy;
20  import java.lang.annotation.Target;
21  
22  /**
23   * Annotations tagged with this annotation represent constraint exclusion.
24   * 
25   * @author Sebastian Thomschke
26   */
27  @Documented
28  @Retention(RetentionPolicy.RUNTIME)
29  @Target(ElementType.ANNOTATION_TYPE)
30  public @interface Exclusion
31  {
32  	/**
33  	 * The class implementing the logic to exclude a constraint.
34  	 */
35  	Class< ? extends AnnotationCheckExclusion< ? extends Annotation>> excludeWith();
36  }