if (api!=null) {
String shortDescription = api.value();
setOptionalAttribute(classElement, "shortDesc", shortDescription);
String longDescription = api.description();
setOptionalAttribute(classElement, "description", longDescription);
String basePathAttr = api.basePath();
setOptionalAttribute(classElement, "basePath",basePathAttr);
}
Produces produces = classElementIn.getAnnotation(Produces.class);
if (produces!=null) {
String[] types = produces.value();