@Override public Map<String, String> getValidAttributes() { Map<String, String> ret = new HashMap<String, String>(); for (PropertyDefinition def : declaration.getPropertyDefinitions()) { ret.put(def.getName(), def.getType()); } if (getGroup() != null) { ret.putAll(getGroup().getValidAttributes()); } return ret; }