@Override
  public PsiClassType @NotNull [] getPermitsListTypes() {
    GrPermitsClause permitsClause = getPermitsClause();
    return permitsClause == null ? PsiClassType.EMPTY_ARRAY : permitsClause.getReferencedTypes();
  }
@Override
  public PsiClassType @NotNull [] getPermitsListTypes()