private @Nullable Navigatable getNavigationTarget() {
    if (!myUsages.isEmpty()) {
      Navigatable firstUsage = as(myUsages.get(0).getElement(), Navigatable.class);
      if (firstUsage != null) {
        return firstUsage;
      }
    }
    return as(getPsiElement(), Navigatable.class);
  }
private @Nullable Navigatable getNavigationTarget()