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:
@@ -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(")");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user