LightMethodBuilder (@NotNull PsiClass constructedClass, @NotNull PsiClass builderClass, @NotNull PsiAnnotation annotation) { final LightMethodBuilder constructor = new LightMethodBuilder(constructedClass, constructedClass.getLanguage()).addParameter( "builder", createAllSetUnsetType(builderClass, true) ).setConstructor(true); constructor.setNavigationElement(annotation); constructor.setOriginInfo(ORIGIN_INFO); return constructor; }