@Nullable
  static GrMember getContainer(@Nullable PsiElement place, @Nullable PsiElement scope) {
    while (place != null && place != scope) {
      place = place.getParent();
      if (place instanceof GrMember) return (GrMember)place;
    }
    return null;
  }
@Nullable
  static GrMember getContainer(@Nullable PsiElement place, @Nullable PsiElement scope)