@Documented @PolymorphicQualifier(value=UnknownRegex.class) @Retention(value=RUNTIME) @Target(value={TYPE_USE,TYPE_PARAMETER}) public @interface PolyRegex
Any method written using @PolyRegex
conceptually has two versions: one in which every
instance of @PolyRegex String
has been replaced by @Regex String
, and one in
which every instance of @PolyRegex String
has been replaced by String
.