diff --git a/slate-docs/source/includes/_main-generator-individual.md b/slate-docs/source/includes/_main-generator-individual.md index 11093a81..4613748a 100644 --- a/slate-docs/source/includes/_main-generator-individual.md +++ b/slate-docs/source/includes/_main-generator-individual.md @@ -194,7 +194,7 @@ configBuilder.forMethods() ```java configBuilder.forFields() .withDependentRequiresResolver(field -> Optional - .ofNullable(field.getAnnotationConsideringFieldAndGetter(IfPresentAlsoRequire.class) + .ofNullable(field.getAnnotationConsideringFieldAndGetter(IfPresentAlsoRequire.class)) .map(IfPresentAlsoRequire::value) .map(Arrays::asList) .orElse(null));