void (@NotNull PsiClass psiClass, @NotNull PsiAnnotation psiAnnotation, @NotNull List<? super PsiElement> target, @Nullable String nameHint) { final Collection<PsiMember> psiMembers = filterMembers(psiClass, psiAnnotation); if (!psiMembers.isEmpty()) { final String typeName = FieldNameConstantsHandler.getTypeName(psiClass, psiAnnotation); Optional<PsiClass> existingClass = PsiClassUtil.getInnerClassInternByName(psiClass, typeName); if (existingClass.isEmpty()) { LombokLightClassBuilder innerClassOrEnum = FieldNameConstantsHandler.createInnerClassOrEnum(typeName, psiClass, psiAnnotation); if (innerClassOrEnum != null) { innerClassOrEnum.withFieldSupplier((thisPsiClass) -> FieldNameConstantsHandler.createFields(thisPsiClass, psiMembers)); target.add(innerClassOrEnum); } } } }