diff --git a/plugin/src/main/java/org/jenkinsci/plugins/structs/describable/DescribableModel.java b/plugin/src/main/java/org/jenkinsci/plugins/structs/describable/DescribableModel.java index 2f22c3e..a633d2c 100644 --- a/plugin/src/main/java/org/jenkinsci/plugins/structs/describable/DescribableModel.java +++ b/plugin/src/main/java/org/jenkinsci/plugins/structs/describable/DescribableModel.java @@ -177,10 +177,6 @@ public DescribableModel(Class clazz) { } private void addParameter(Map props, Type type, String name, Setter setter) { - if (type == Object.class) { - // For example, ChoiceParameterDefinition.choices is just not analyzable. - return; - } props.put(name, new DescribableParameter(this, type, name, setter)); }