Class FormatterLubGlbChecker

All Implemented Interfaces:
Processor, OptionConfiguration

public class FormatterLubGlbChecker extends FormatterChecker
This class tests the implementation of GLB computation in the Formatter Checker, but it does not test for the crash described in issue 691. That is done by tests/all-systems/Issue691.java. It also tests the implementation of LUB computation in the Formatter Checker.
  • Constructor Details

    • FormatterLubGlbChecker

      public FormatterLubGlbChecker()
  • Method Details

    • createSourceVisitor

      protected BaseTypeVisitor<?> createSourceVisitor()
      Description copied from class: BaseTypeChecker
      Returns the appropriate visitor that type-checks the compilation unit according to the type system rules.

      This implementation uses the checker naming convention to create the appropriate visitor. If no visitor is found, it returns an instance of BaseTypeVisitor. It reflectively invokes the constructor that accepts this checker and the compilation unit tree (in that order) as arguments.

      Subclasses have to override this method to create the appropriate visitor if they do not follow the checker naming convention.

      Overrides:
      createSourceVisitor in class BaseTypeChecker
      Returns:
      the type-checking visitor
    • initChecker

      public void initChecker()
      Description copied from class: SourceChecker
      Initialize the checker.
      Overrides:
      initChecker in class BaseTypeChecker
      See Also: