LightMethodBuilder (@NotNull PsiAnnotation annotation, @NotNull PsiClass builderClass) { LightMethodBuilder buildMethod = new LightMethodBuilder(annotation.getManager(), builderClass.getLanguage(), getBuildMethodName(annotation)); buildMethod.addModifier(PsiModifier.STATIC); buildMethod.setContainingClass(builderClass); buildMethod.setOriginInfo(ORIGIN_INFO); buildMethod.setNavigationElement(annotation); buildMethod.setMethodReturnType(createAllSetUnsetType(builderClass, false)); return buildMethod; }