annotation.setGutterIconRenderer(new NavigationGutterRenderer(navigateToObjectAction, GutterIconRenderer.Alignment.LEFT));
}
} else if (object.getContentType() == DBContentType.CODE_SPEC_AND_BODY) {
SourceCodeManager codeEditorManager = SourceCodeManager.getInstance(object.getProject());
BasePsiElement targetElement = codeEditorManager.getObjectNavigationElement(object, targetContentType, identifierPsiElement.getObjectType(), identifierPsiElement.getChars());
if (targetElement != null) {
NavigationAction navigationAction = targetContentType == DBContentType.CODE_BODY ?
new NavigateToDefinitionAction(object, targetElement, objectType) :
new NavigateToSpecificationAction(object, targetElement, objectType);
Annotation annotation = holder.createInfoAnnotation(basePsiElement, null);