
uk.co.jemos.podam.annotations.PodamCharValue Maven / Gradle / Ivy
/**
*
*/
package uk.co.jemos.podam.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation used to customise min and max values of a char type attribute or
* constructor parameter.
*
*
* @author mtedone
*
*/
@Target(value = { ElementType.FIELD, ElementType.PARAMETER })
@Retention(RetentionPolicy.RUNTIME)
public @interface PodamCharValue {
/** The minimum value for the annotated field */
char minValue() default 0;
/** The minimum value for the annotated field */
char maxValue() default 0;
/** It allows clients to make comments */
String comment() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy