public static @NotNull Iterable<JvmElement> getElementsByIdentifier(@NotNull PsiElement identifierElement) {
    PsiElement declaringElement = findDeclaringElement(identifierElement);
    if (declaringElement == null) {
      return Collections.emptyList();
    }
    else {
      return () -> iterateDeclarations(declaringElement);
    }
  }
public static @NotNull Iterable<JvmElement> getElementsByIdentifier(@NotNull PsiElement identifierElement)