[lombok] Pass context in withContract

GitOrigin-RevId: 41192a678dc2599c823a95e8933f1d319c490d73
This commit is contained in:
Tagir Valeev
2022-09-29 13:28:45 +02:00
committed by intellij-monorepo-bot
parent d6c6070d57
commit 39560ec1ee

View File

@@ -124,7 +124,7 @@ public class LombokLightMethodBuilder extends LightMethodBuilder implements Synt
putUserData(LombokInferredAnnotationProvider.CONTRACT_ANNOTATION,
JavaPsiFacade.getElementFactory(getProject())
.createAnnotationFromText('@' + JavaMethodContractUtil.ORG_JETBRAINS_ANNOTATIONS_CONTRACT + "(" + parameters + ")",
null));
this));
return this;
}