AnnotationDescriptor refactoring: contains map of ValueParameterDescriptor and CompileTimeConstant for valueArgument.

DescriptorUtils: add method to get a list of sorted value arguments from AnnotationDescriptor
This commit is contained in:
Natalia.Ukhorskaya
2012-08-29 12:55:00 +04:00
parent 04deb2dd2f
commit 92a782ce6c
7 changed files with 42 additions and 15 deletions
@@ -534,7 +534,7 @@ public class NamespaceComparator {
public void serialize(AnnotationDescriptor annotation) {
new TypeSerializer(sb).serialize(annotation.getType());
sb.append("(");
serializeCommaSeparated(annotation.getValueArguments());
serializeCommaSeparated(DescriptorUtils.getSortedValueArguments(annotation));
sb.append(")");
}