}
for (final TypeReferenceKey<?> key : keys.get()) {
if (key.isRequired()) {
if (ctx.get(key) == null && key.getDefaultValue() == null) {
throw new ValidationException(String.format("%s : TypeReferenceKey is required: %s", command.getName(), key));
}
}
}
}