use of com.intellij.codeInsight.hints.InlayInfo in project intellij-community by JetBrains.
the class CodeInsightTestFixtureImpl method checkResultWithInlays.
@Override
public void checkResultWithInlays(String text) {
Document checkDocument = new DocumentImpl(text);
InlayHintsChecker checker = new InlayHintsChecker(this);
List<InlayInfo> inlayInfos = checker.extractInlays(checkDocument);
checkResult(checkDocument.getText());
checker.verifyInlays(inlayInfos, text);
}
Aggregations