if (Gbean.class.isInstance(object)) {
Gbean gbean = (Gbean) object;
return "GBean: name = \"" + gbean.getName()
+ "\", class = \"" + gbean.getClazz() + "\"";
} else if (Attribute.class.isInstance(object)) {
Attribute attribute = (Attribute) object;
return "Attribute: name = \"" + attribute.getName()
+ "\", type = \"" + attribute.getType()
+ "\", value = \"" + attribute.getValue()
+ "\"";
} else if (Pattern.class.isInstance(object)) {
Pattern dependency = (Pattern) object;
return "Dependency: group = \""
+ dependency.getGroupId() + "\", artifact = \""