/** * Create the {@link ChangeParameterMetaData} "example" value. Uses the value on the * DatabaseChangeProperty annotation or returns null as a default. Returns map with key=database * short name, value=example. Use short-name "all" as the fallback. */ @SuppressWarnings("UnusedParameters") protected Map<String, Object> createExampleValueMetaData( String parameterName, DatabaseChangeProperty changePropertyAnnotation) { if (changePropertyAnnotation == null) { return null; } Map<String, Object> examples = new HashMap<String, Object>(); examples.put("all", StringUtils.trimToNull(changePropertyAnnotation.exampleValue())); return examples; }