attributes.setProperty("tagName", "jmx.managed-attribute");
// lookup the PropertyTagsHandler
//
PropertyTagsHandler pth = null;
try {
pth = (PropertyTagsHandler) ((TemplateSubTask) getDocletContext().getActiveSubTask()).getEngine().getTagHandlerFor("Property");
}
catch (TemplateException te) {
throw new XDocletException(te, "there's some funky shiat going on!");
}
// get the normal type
//
String type = pth.propertyTypeWithTag(attributes);
// if it is an array, we need to re-arrange it into psuedo internal java
// type so java.lang.String[] will become [java.lang.String
//
int indexOfOpenBracket = type.indexOf('[');