Annotation Interface PolyReplaceable
@Documented
@Retention(RUNTIME)
@Target({TYPE_USE,TYPE_PARAMETER})
@PolymorphicQualifier(MaybeReplaceable.class)
public @interface PolyReplaceable
A polymorphic qualifier for the Replace hierarchy.
When used on a method, the Replace capability of the return type matches the Replace
capability of the argument or receiver annotated with @PolyReplaceable.
- See the Checker Framework Manual:
- Modifiability Checker, Qualifier polymorphism