Annotation Interface PolyShrinkable
@Documented
@Retention(RUNTIME)
@Target({TYPE_USE,TYPE_PARAMETER})
@PolymorphicQualifier(MaybeShrinkable.class)
public @interface PolyShrinkable
A polymorphic qualifier for the Shrink hierarchy that preserves the shrink capability.
Use on methods that preserve shrinkability — for example, Map.keySet().
- See the Checker Framework Manual:
- Modifiability Checker, Qualifier polymorphism