Class ModifiabilityChecker

All Implemented Interfaces:
Processor, OptionConfiguration

public class ModifiabilityChecker extends AggregateChecker
A type-checker that warns, at compile time, if a program might throw UnsupportedOperationException at run time due to calling a mutating method on a collection.

This is an aggregate checker that runs independent sub-checkers, one for each modifiability capability and one for iterator modifiability preservation:

See the Checker Framework Manual:
Modifiability Checker
  • Constructor Details

    • ModifiabilityChecker

      public ModifiabilityChecker()
      Creates a ModifiabilityChecker.
  • Method Details