Render annotation arguments.

This commit is contained in:
Evgeny Gerashchenko
2012-12-26 18:36:37 +04:00
parent bf42e3c093
commit 63b3e59a18
@@ -293,7 +293,11 @@ public class DescriptorRendererImpl implements DescriptorRenderer {
assert annotationClass != null;
if (!excludedAnnotationClasses.contains(DescriptorUtils.getFQName(annotationClass).toSafe())) {
builder.append(renderType(annotation.getType())).append(" ");
builder.append(renderType(annotation.getType()));
if (verbose) {
builder.append("(").append(StringUtil.join(DescriptorUtils.getSortedValueArguments(annotation), ", ")).append(")");
}
builder.append(" ");
}
}
}