Sorting annotations on saving instead of loading.

This commit is contained in:
Evgeny Gerashchenko
2013-06-05 16:16:10 +04:00
parent d9a97693b7
commit fcaf60e139
10 changed files with 109 additions and 117 deletions
@@ -1,11 +1,11 @@
<root>
<item name='p.TestDeannotation java.lang.String get()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='p.TestDeannotation1 java.lang.String get(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='p.Test java.lang.String get()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='p.TestDeannotation java.lang.String get()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='p.TestDeannotation1 java.lang.String get(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
</root>
@@ -1,5 +1,5 @@
<root>
<item name='p.TestDeannotation java.lang.String get()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='p.TestDeannotation java.lang.String get()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
</root>
@@ -1,5 +1,5 @@
<root>
<item name='p.TestDeannotation1 java.lang.String get(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
</root>
@@ -1,13 +1,13 @@
<root>
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
<annotation name='java.lang.SuppressWarnings'>
<val val="&quot;SillyAssignment&quot;"/>
</annotation>
</item>
<item name='suppressed.SecondSuppression void second()'>
<annotation name='java.lang.SuppressWarnings'>
<val val="&quot;SillyAssignment&quot;"/>
<val val="{DoesntMatterWhat}"/>
</annotation>
</item>
<item name='suppressed.SecondSuppression void second()'>
<annotation name='java.lang.SuppressWarnings'>
<val val="{DoesntMatterWhat}"/>
</annotation>
</item>
</item>
</root>
@@ -1,15 +1,15 @@
<root>
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='suppressed.SecondSuppression void second()'>
<annotation name='java.lang.SuppressWarnings'>
<val val="{DoesntMatterWhat}"/>
</annotation>
</item>
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='suppressed.NewSuppress void barr()'>
<annotation name='java.lang.SuppressWarnings'>
<val val="&quot;SillyAssignment&quot;"/>
</annotation>
</item>
<item name='suppressed.SecondSuppression void second()'>
<annotation name='java.lang.SuppressWarnings'>
<val val="{DoesntMatterWhat}"/>
</annotation>
</item>
</root>
@@ -1,10 +1,10 @@
<root>
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='suppressed.SecondSuppression void second()'>
<annotation name='java.lang.SuppressWarnings'>
<val val="{DoesntMatterWhat, &quot;SillyAssignment&quot;}"/>
</annotation>
</item>
<item name='suppressed.ExistingExternalName java.lang.String foo()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='suppressed.SecondSuppression void second()'>
<annotation name='java.lang.SuppressWarnings'>
<val val="{DoesntMatterWhat, &quot;SillyAssignment&quot;}"/>
</annotation>
</item>
</root>
@@ -1,7 +1,7 @@
<root>
<item name='multiRoot.Test java.lang.String get(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'>
<val name="value" val="&quot;bar&quot;"/>
</annotation>
</item>
<item name='multiRoot.Test java.lang.String get(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'>
<val name="value" val="&quot;bar&quot;"/>
</annotation>
</item>
</root>
@@ -1,7 +1,7 @@
<root>
<item name='multiRoot.Test java.lang.String get(java.lang.String)'>
<annotation name='org.jetbrains.annotations.Nullable'>
<val name="value" val="&quot;bar&quot;"/>
</annotation>
</item>
<item name='multiRoot.Test java.lang.String get(java.lang.String)'>
<annotation name='org.jetbrains.annotations.Nullable'>
<val name="value" val="&quot;bar&quot;"/>
</annotation>
</item>
</root>