blob: 81dafd5df51842c62f47be830b02f441b9f7ce2b [file] [log] [blame]
package org.checkerframework.framework.testchecker.util;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.checkerframework.framework.qual.PreconditionAnnotation;
/**
* A precondition annotation to indicate that a method requires certain expressions to be {@link
* Odd}.
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
@PreconditionAnnotation(qualifier = Odd.class)
public @interface RequiresOdd {
String[] value();
}