Class TypeInformationPresenter


public class TypeInformationPresenter extends Object
Presents formatted type information for various AST trees in a class.

The formatted type information is designed to be visualized by editors and IDEs that support Language Server Protocol (LSP).

  • Constructor Details

    • TypeInformationPresenter

      public TypeInformationPresenter(AnnotatedTypeFactory factory)
      Constructs a presenter for the given factory.
      factory - the AnnotatedTypeFactory for the current analysis
  • Method Details

    • process

      public void process(ClassTree tree)
      The entry point for presenting type information of trees in the given class.
      tree - a ClassTree that has been type-checked by the factory