package net.pterodactylus.sone.test;
import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.SOURCE;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
- * This annotation marks test methods that are somehow not good test methods.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
+ * This annotation marks tests or test methods that are dirty,
+ * i.e. written in a way no test should ever be written in.
*/
@Retention(SOURCE)
-@Target(METHOD)
+@Target(value = { TYPE, METHOD })
public @interface Dirty {
String value() default "";