@Override
  protected boolean hasMembers(@NotNull PsiClass aClass) {
    return ContainerUtil.exists(GenerateAccessorProviderRegistrar.getEncapsulatableClassMembers(aClass), ecm -> !ecm.isReadOnlyMember());
  }
@Override
  protected boolean hasMembers(@NotNull PsiClass aClass)