LombokLightClassBuilder (@NotNull String name, @NotNull PsiClass containingClass, @NotNull PsiAnnotation psiAnnotation) { final String accessLevel = LombokProcessorUtil.getLevelVisibility(psiAnnotation); if (accessLevel == null) { return null; } final boolean asEnum = PsiAnnotationUtil.getBooleanAnnotationValue(psiAnnotation, "asEnum", false); if (asEnum) { return createEnum(name, containingClass, accessLevel, psiAnnotation); } else { return createInnerClass(name, containingClass, accessLevel, psiAnnotation); } }