Class TypeInformationPresenter


  • public class TypeInformationPresenter
    extends java.lang.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).

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void process​(com.sun.source.tree.ClassTree tree)
      The entry point for presenting type information of trees in the given class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TypeInformationPresenter

        public TypeInformationPresenter​(AnnotatedTypeFactory atypeFactory)
        Constructs a presenter for the given factory.
        Parameters:
        atypeFactory - the AnnotatedTypeFactory for the current analysis
    • Method Detail

      • process

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