para = doc.createElement("para");
para.appendChild(doc.createTextNode("Configures the "));
para.appendChild(linkRenderer.link(propertyMetaData.getType(), listener));
para.appendChild(doc.createTextNode(String.format(" added by the %s plugin.", extensionDoc.getPluginId())));
MethodMetaData methodMetaData = new MethodMetaData(id, extensionDoc.getTargetClass().getClassMetaData());
methodMetaData.addParameter("configClosure", new TypeMetaData(Closure.class.getName()));
MethodDoc methodDoc = new MethodDoc(methodMetaData, Collections.singletonList(para));
extensionDoc.getExtraBlocks().add(new BlockDoc(methodDoc, propertyDoc, propertyMetaData.getType(), false));
}
}