registry = new ImageRegistry();
}
// Javadoc inherited
public Image decorateImage(Image image, Object o) {
Proxy proxy = (Proxy) o;
String key = "default";
List diagnostics = proxy.getDiagnostics();
if (diagnostics != null && !diagnostics.isEmpty()) {
Object model = proxy.getModelObject();
if (model != null && model instanceof VariantBuilder) {
VariantBuilder variant = (VariantBuilder) model;
VariantType type = variant.getVariantType();
if (type == VariantType.LAYOUT) {