Fix inconsistencies in Android annotations

This commit is contained in:
Alexey Sedunov
2013-10-08 18:10:42 +04:00
parent 9c38716829
commit ed006a66c5
273 changed files with 24051 additions and 12822 deletions
@@ -1,4 +1,7 @@
<root>
<item name='android.text.method.BaseMovementMethod boolean pageDown(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.LinkMovementMethod boolean onTouchEvent(android.widget.TextView, android.text.Spannable, android.view.MotionEvent) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -11,6 +14,9 @@
<item name='android.text.method.ArrowKeyMovementMethod boolean lineStart(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.MovementMethod boolean onKeyDown(android.widget.TextView, android.text.Spannable, int, android.view.KeyEvent) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.TextKeyListener boolean onKeyOther(android.view.View, android.text.Editable, android.view.KeyEvent) 2'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -23,6 +29,9 @@
<item name='android.text.method.DigitsKeyListener android.text.method.DigitsKeyListener getInstance(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ScrollingMovementMethod boolean top(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.MovementMethod boolean onGenericMotionEvent(android.widget.TextView, android.text.Spannable, android.view.MotionEvent) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -41,9 +50,6 @@
<item name='android.text.method.LinkMovementMethod void initialize(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.PasswordTransformationMethod java.lang.CharSequence getTransformation(java.lang.CharSequence, android.view.View)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ArrowKeyMovementMethod void initialize(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -80,16 +86,19 @@
<item name='android.text.method.LinkMovementMethod boolean handleMovementKey(android.widget.TextView, android.text.Spannable, int, int, android.view.KeyEvent) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean lineEnd(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ScrollingMovementMethod boolean end(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.MetaKeyKeyListener boolean onKeyDown(android.view.View, android.text.Editable, int, android.view.KeyEvent) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ArrowKeyMovementMethod boolean top(android.widget.TextView, android.text.Spannable) 0'>
<item name='android.text.method.ScrollingMovementMethod boolean up(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ScrollingMovementMethod boolean up(android.widget.TextView, android.text.Spannable) 1'>
<item name='android.text.method.ArrowKeyMovementMethod boolean top(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.LinkMovementMethod boolean onTouchEvent(android.widget.TextView, android.text.Spannable, android.view.MotionEvent) 2'>
@@ -125,27 +134,42 @@
<item name='android.text.method.ScrollingMovementMethod boolean end(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.LinkMovementMethod boolean onTouchEvent(android.widget.TextView, android.text.Spannable, android.view.MotionEvent) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ScrollingMovementMethod boolean up(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.LinkMovementMethod boolean onTouchEvent(android.widget.TextView, android.text.Spannable, android.view.MotionEvent) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean pageDown(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.NumberKeyListener boolean onKeyDown(android.view.View, android.text.Editable, int, android.view.KeyEvent) 3'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ScrollingMovementMethod boolean lineEnd(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseKeyListener boolean forwardDelete(android.view.View, android.text.Editable, int, android.view.KeyEvent) 3'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean down(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean up(android.widget.TextView, android.text.Spannable) 0'>
<item name='android.text.method.MovementMethod boolean onKeyDown(android.widget.TextView, android.text.Spannable, int, android.view.KeyEvent) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean pageUp(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ArrowKeyMovementMethod boolean lineStart(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean up(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.NumberKeyListener char[] getAcceptedChars()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.MetaKeyKeyListener boolean onKeyUp(android.view.View, android.text.Editable, int, android.view.KeyEvent) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -158,9 +182,6 @@
<item name='android.text.method.DigitsKeyListener java.lang.CharSequence filter(java.lang.CharSequence, int, int, android.text.Spanned, int, int) 3'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.TimeKeyListener char[] getAcceptedChars()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.MetaKeyKeyListener boolean onKeyDown(android.view.View, android.text.Editable, int, android.view.KeyEvent) 3'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -173,10 +194,10 @@
<item name='android.text.method.ScrollingMovementMethod boolean onTouchEvent(android.widget.TextView, android.text.Spannable, android.view.MotionEvent) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.DigitsKeyListener android.text.method.DigitsKeyListener getInstance(java.lang.String)'>
<item name='android.text.method.BaseMovementMethod boolean down(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean down(android.widget.TextView, android.text.Spannable) 0'>
<item name='android.text.method.DateTimeKeyListener char[] getAcceptedChars()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ArrowKeyMovementMethod boolean bottom(android.widget.TextView, android.text.Spannable) 1'>
@@ -185,6 +206,9 @@
<item name='android.text.method.ArrowKeyMovementMethod boolean down(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean leftWord(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.LinkMovementMethod boolean up(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -212,6 +236,9 @@
<item name='android.text.method.ArrowKeyMovementMethod boolean bottom(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean leftWord(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ArrowKeyMovementMethod boolean down(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -236,6 +263,9 @@
<item name='android.text.method.BaseMovementMethod boolean scrollPageUp(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean lineStart(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.KeyListener boolean onKeyUp(android.view.View, android.text.Editable, int, android.view.KeyEvent) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -245,6 +275,9 @@
<item name='android.text.method.KeyListener boolean onKeyOther(android.view.View, android.text.Editable, android.view.KeyEvent) 2'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.PasswordTransformationMethod java.lang.CharSequence getTransformation(java.lang.CharSequence, android.view.View)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean scrollLineStart(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -284,6 +317,9 @@
<item name='android.text.method.BaseMovementMethod boolean scrollTop(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.TimeKeyListener char[] getAcceptedChars()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ScrollingMovementMethod boolean down(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -293,15 +329,15 @@
<item name='android.text.method.ScrollingMovementMethod void onTakeFocus(android.widget.TextView, android.text.Spannable, int) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.DateKeyListener char[] getAcceptedChars()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ArrowKeyMovementMethod boolean pageDown(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.TextKeyListener boolean onKeyUp(android.view.View, android.text.Editable, int, android.view.KeyEvent) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.TextKeyListener.Capitalize android.text.method.TextKeyListener.Capitalize valueOf(java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.MetaKeyKeyListener void clearMetaKeyState(android.text.Editable, int) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -353,6 +389,9 @@
<item name='android.text.method.ArrowKeyMovementMethod void onTakeFocus(android.widget.TextView, android.text.Spannable, int) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ScrollingMovementMethod boolean home(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.MovementMethod boolean onTouchEvent(android.widget.TextView, android.text.Spannable, android.view.MotionEvent) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -380,9 +419,6 @@
<item name='android.text.method.ArrowKeyMovementMethod void onTakeFocus(android.widget.TextView, android.text.Spannable, int) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.DateTimeKeyListener char[] getAcceptedChars()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ArrowKeyMovementMethod boolean pageUp(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -392,9 +428,6 @@
<item name='android.text.method.ScrollingMovementMethod boolean pageDown(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.DateKeyListener char[] getAcceptedChars()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean handleMovementKey(android.widget.TextView, android.text.Spannable, int, int, android.view.KeyEvent) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -413,7 +446,7 @@
<item name='android.text.method.ScrollingMovementMethod boolean home(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.TransformationMethod java.lang.CharSequence getTransformation(java.lang.CharSequence, android.view.View)'>
<item name='android.text.method.BaseMovementMethod boolean rightWord(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.TextKeyListener android.text.method.TextKeyListener getInstance(boolean, android.text.method.TextKeyListener.Capitalize) 1'>
@@ -422,7 +455,7 @@
<item name='android.text.method.CharacterPickerDialog CharacterPickerDialog(android.content.Context, android.view.View, android.text.Editable, java.lang.String, boolean) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.DialerKeyListener char[] getAcceptedChars()'>
<item name='android.text.method.BaseMovementMethod boolean top(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.MultiTapKeyListener boolean onKeyDown(android.view.View, android.text.Editable, int, android.view.KeyEvent) 1'>
@@ -440,15 +473,24 @@
<item name='android.text.method.ScrollingMovementMethod boolean right(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ScrollingMovementMethod boolean pageDown(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ArrowKeyMovementMethod boolean pageDown(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ScrollingMovementMethod boolean right(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean home(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean onKeyDown(android.widget.TextView, android.text.Spannable, int, android.view.KeyEvent) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean rightWord(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.NumberKeyListener int lookup(android.view.KeyEvent, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -491,10 +533,13 @@
<item name='android.text.method.TextKeyListener void clear(android.text.Editable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.MultiTapKeyListener void onSpanChanged(android.text.Spannable, java.lang.Object, int, int, int, int) 0'>
<item name='android.text.method.ScrollingMovementMethod boolean pageUp(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ScrollingMovementMethod boolean pageUp(android.widget.TextView, android.text.Spannable) 0'>
<item name='android.text.method.MovementMethod boolean onKeyDown(android.widget.TextView, android.text.Spannable, int, android.view.KeyEvent) 3'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.MultiTapKeyListener void onSpanChanged(android.text.Spannable, java.lang.Object, int, int, int, int) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.LinkMovementMethod boolean down(android.widget.TextView, android.text.Spannable) 1'>
@@ -539,9 +584,15 @@
<item name='android.text.method.WordIterator WordIterator(java.util.Locale) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ScrollingMovementMethod boolean pageUp(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean end(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.DigitsKeyListener android.text.method.DigitsKeyListener getInstance(java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ArrowKeyMovementMethod boolean lineEnd(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -551,6 +602,9 @@
<item name='android.text.method.ScrollingMovementMethod boolean bottom(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ScrollingMovementMethod boolean lineStart(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ArrowKeyMovementMethod boolean leftWord(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -560,6 +614,9 @@
<item name='android.text.method.ArrowKeyMovementMethod boolean onTouchEvent(android.widget.TextView, android.text.Spannable, android.view.MotionEvent) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean end(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.BaseMovementMethod boolean onKeyOther(android.widget.TextView, android.text.Spannable, android.view.KeyEvent) 2'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -581,9 +638,15 @@
<item name='android.text.method.BaseMovementMethod boolean scrollLeft(android.widget.TextView, android.text.Spannable, int) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.TextKeyListener.Capitalize android.text.method.TextKeyListener.Capitalize valueOf(java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ArrowKeyMovementMethod boolean leftWord(android.widget.TextView, android.text.Spannable) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.DialerKeyListener char[] getAcceptedChars()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.text.method.ScrollingMovementMethod boolean lineStart(android.widget.TextView, android.text.Spannable) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>