@Retention(value=RUNTIME) @Target(value={ANNOTATION_TYPE,METHOD,FIELD}) public @interface Replace
ReplaceConstraint
Modifier and Type | Required Element and Description |
---|---|
String |
pattern |
String |
replacement |
Modifier and Type | Optional Element and Description |
---|---|
int |
flags |
String[] |
groups |
ValidationTarget[] |
targets |
public abstract String pattern
public abstract String replacement
public abstract String[] groups
public abstract ValidationTarget[] targets
ValidationTarget.VALUE
will be used by default.Copyright © 2011–2020 FoxLabs. All rights reserved.