0.1.2
Custom Annotation with Validation annotation, such as @phone
@Documented
@Constraint(validatedBy = {})
@Target({METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER, TYPE_USE})
@Retention(RUNTIME)
@Pattern(regexp = "(136|137|186)\\d{8}")
public @interface Phone {
}