// Path: src/main/java/net/andreinc/jbvext/annotations/str/validators/AlphanumericValidator.java
// public class AlphanumericValidator extends GenericStringValidator<Alphanumeric> {
//     @Override
//     public Function<String, Boolean> condition() {
//         return StringUtils::isAlphanumeric;
//     }
// }


import net.andreinc.jbvext.annotations.str.validators.AlphanumericValidator;
import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
package net.andreinc.jbvext.annotations.str;




/**
 * Checks if the String contains only unicode letters or digits.
 */
@Documented
@Constraint(validatedBy = AlphanumericValidator.class)
// Path: src/main/java/net/andreinc/jbvext/annotations/str/validators/AlphanumericValidator.java
// public class AlphanumericValidator extends GenericStringValidator<Alphanumeric> {
//     @Override
//     public Function<String, Boolean> condition() {
//         return StringUtils::isAlphanumeric;
//     }
// }


// Path: src/main/java/net/andreinc/jbvext/annotations/str/Alphanumeric.java
import net.andreinc.jbvext.annotations.str.validators.AlphanumericValidator;
import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

package net.andreinc.jbvext.annotations.str;




/**
 * Checks if the String contains only unicode letters or digits.
 */
@Documented
@Constraint(validatedBy = AlphanumericValidator.class)
@Target({METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER, TYPE_USE})