Annotation Type PolyRegex
-
@Documented @Retention(RUNTIME) @Target({TYPE_USE,TYPE_PARAMETER}) @PolymorphicQualifier(UnknownRegex.class) public @interface PolyRegex
A polymorphic qualifier for the Regex type system.Any method written using
PolyRegex
conceptually has two versions: one in which every instance ofPolyRegex
has been replaced byRegex
, and one in which every instance ofPolyRegex
has been replaced byUnknownRegex
.