From 9e3698ecb83406c138c4caed63d4e2541cf6985f Mon Sep 17 00:00:00 2001 From: Patrick Plenefisch Date: Thu, 5 Sep 2019 17:22:22 -0400 Subject: [PATCH] Visit Parameter Consumers when doing GraalVM reflection generation --- .../picocli/codegen/aot/graalvm/ReflectionConfigGenerator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/picocli-codegen/src/main/java/picocli/codegen/aot/graalvm/ReflectionConfigGenerator.java b/picocli-codegen/src/main/java/picocli/codegen/aot/graalvm/ReflectionConfigGenerator.java index b0a01561d..31fd1e5c9 100644 --- a/picocli-codegen/src/main/java/picocli/codegen/aot/graalvm/ReflectionConfigGenerator.java +++ b/picocli-codegen/src/main/java/picocli/codegen/aot/graalvm/ReflectionConfigGenerator.java @@ -347,6 +347,7 @@ private void visitArgSpec(ArgSpec argSpec) throws Exception { visitSetter(argSpec.setter()); visitTypeInfo(argSpec.typeInfo()); visitObjectType(argSpec.completionCandidates()); + visitObjectType(argSpec.parameterConsumer()); visitObjectTypes(argSpec.converters()); }