if (componentAttribute != null) {
String simpleName = d.getSimpleName();
if (simpleName.startsWith("set")) {
String attributeStr = simpleName.substring(3, 4).toLowerCase(Locale.ENGLISH) + simpleName.substring(4);
String methodStr;
if (componentAttribute.type().length == 1
&& (componentAttribute.type()[0].equals(Boolean.class.getName())
|| componentAttribute.type()[0].equals("boolean"))) {
methodStr = "is" + simpleName.substring(3);
} else {
methodStr = "get" + simpleName.substring(3);