public class TypeInformationPresenter extends Object
The formatted type information is designed to be visualized by editors and IDEs that support Language Server Protocol (LSP).
Constructor and Description |
---|
TypeInformationPresenter(AnnotatedTypeFactory factory)
Constructs a presenter for the given factory.
|
Modifier and Type | Method and Description |
---|---|
void |
process(ClassTree tree)
The entry point for presenting type information of trees in the given class.
|
public TypeInformationPresenter(AnnotatedTypeFactory factory)
factory
- The AnnotatedTypeFactory for the current analysis.public void process(ClassTree tree)
tree
- A ClassTree that has been type-checked by the factory.