use of com.goide.psi.GoArgumentList in project go-lang-idea-plugin by go-lang-plugin-org.
the class GoParameterInfoHandlerTest method getHighlightedItem.
private int getHighlightedItem() {
MockUpdateParameterInfoContext updateCtx = new MockUpdateParameterInfoContext(myFixture.getEditor(), myFixture.getFile());
GoArgumentList psiElement = myParameterInfoHandler.findElementForUpdatingParameterInfo(updateCtx);
assertNotNull(psiElement);
myParameterInfoHandler.updateParameterInfo(psiElement, updateCtx);
return updateCtx.getCurrentParameter();
}
use of com.goide.psi.GoArgumentList in project go-lang-idea-plugin by go-lang-plugin-org.
the class GoParameterInfoHandlerTest method getItemsToShow.
private Object[] getItemsToShow() {
CreateParameterInfoContext createCtx = new MockCreateParameterInfoContext(myFixture.getEditor(), myFixture.getFile());
GoArgumentList psiElement = myParameterInfoHandler.findElementForParameterInfo(createCtx);
assertNotNull(psiElement);
myParameterInfoHandler.showParameterInfo(psiElement, createCtx);
return createCtx.getItemsToShow();
}
Aggregations