TP-metaprogrammation-test/TP4/UnTest.java
2023-04-22 17:31:23 +02:00

10 lines
235 B
Java

import java.lang.annotation.*;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface UnTest {
boolean enabled() default true;
Class<? extends Throwable> expected() default FausseException.class;
}