private void annotateSpecDeclarationNavigable(BasePsiElement basePsiElement, AnnotationHolder holder) {
BasePsiElement subjectPsiElement = basePsiElement.lookupFirstPsiElement(ElementTypeAttribute.SUBJECT);
if (subjectPsiElement instanceof IdentifierPsiElement) {
IdentifierPsiElement identifierPsiElement = (IdentifierPsiElement) subjectPsiElement;
DBObjectType objectType = identifierPsiElement.getObjectType();
ElementType elementType = basePsiElement.getElementType();
if (identifierPsiElement.isObject() && objectType.getGenericType() == DBObjectType.METHOD) {
DBContentType targetContentType =
elementType.is(ElementTypeAttribute.OBJECT_DECLARATION) ? DBContentType.CODE_SPEC :
elementType.is(ElementTypeAttribute.OBJECT_SPECIFICATION) ? DBContentType.CODE_BODY : null;