All Implemented Interfaces:
Processor, OptionConfiguration

A type-checker that warns, at compile time, if a program might throw UnsupportedOperationException at run time due to calling a replace method on a collection.

The checker enforces the Modifiability type system, where @Replaceable collections can be safely mutated, @Unreplaceable collections cannot be replaced, and @MaybeReplaceable collections have unknown replace behavior.

See the Checker Framework Manual:
Modifiability Checker
  • Constructor Details

    • ReplaceChecker

      public ReplaceChecker()
      Creates a Replace checker.