@Nullable
    private PsiElement resolveInner() {
      ShFunctionDeclarationProcessor functionProcessor = new ShFunctionDeclarationProcessor(myElement.getText());
      PsiTreeUtil.treeWalkUp(functionProcessor, myElement, myElement.getContainingFile(), ResolveState.initial());
      return functionProcessor.getFunction();
    }
@Nullable
    private PsiElement resolveInner()