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