com.github.fashionbrot.validated.test.CustomConstraintValidator2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mars-validated Show documentation
Show all versions of mars-validated Show documentation
mars-validated 参数验证 https://github.com/fashionbrot/mars-validated
package com.github.fashionbrot.validated.test;
import com.github.fashionbrot.validated.constraint.ConstraintValidator;
public class CustomConstraintValidator2 implements ConstraintValidator {
@Override
public boolean isValid(Custom custom, Object var1) {
Class customStringClass=this.getClass();
System.out.println();
System.out.println(var1);
return false;
}
}