private static boolean isInside(@NotNull PsiElement place, PsiElement @NotNull [] ancestors) {
    return isInside(place, Arrays.asList(ancestors));
  }
private static boolean isInside(@NotNull PsiElement place, PsiElement @NotNull [] ancestors)