Optional<PsiClass> (@NotNull PsiClass psiClass, @Nullable PsiMethod psiMethod, @NotNull PsiAnnotation psiAnnotation) { PsiClass builderClass = null; if (getExistInnerBuilderClass(psiClass, psiMethod, psiAnnotation).isEmpty()) { builderClass = createBuilderClass(psiClass, psiMethod, psiAnnotation); } return Optional.ofNullable(builderClass); }