Class PurityChecker

All Implemented Interfaces:
Processor, OptionConfiguration

public class PurityChecker extends BaseTypeChecker
Perform purity checking only.
See the Checker Framework Manual:
Side effects, determinism, purity, and flow-sensitive analysis
  • Constructor Details

    • PurityChecker

      public PurityChecker()
      Creates a PurityChecker.
  • Method Details

    • getOptions

      public Map<String,String> getOptions()
      Returns all active options for this checker.

      Checking purity annotations is the entire purpose of this checker, so this implementation behaves as if -AcheckPurityAnnotations was supplied on the command line.

      Specified by:
      getOptions in interface OptionConfiguration
      Overrides:
      getOptions in class SourceChecker
      Returns:
      all active options for this checker