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,35 +1,47 @@
<root>
<item name='android.speech.RecognizerIntent android.content.Intent getVoiceDetailsIntent(android.content.Context) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.IRecognitionListener.Stub boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) 2'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.IRecognitionListener.Stub android.os.IBinder asBinder()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.IRecognitionListener.Stub boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.SpeechRecognizer android.speech.SpeechRecognizer createSpeechRecognizer(android.content.Context, android.content.ComponentName)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.RecognitionService android.os.IBinder onBind(android.content.Intent)'>
<item name='android.speech.SpeechRecognizer boolean isRecognitionAvailable(android.content.Context) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.IRecognitionService.Stub boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) 2'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.IRecognitionService.Stub boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.RecognitionService android.os.IBinder onBind(android.content.Intent) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.SpeechRecognizer android.speech.SpeechRecognizer createSpeechRecognizer(android.content.Context)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.RecognizerIntent android.content.Intent getVoiceDetailsIntent(android.content.Context) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.SpeechRecognizer android.speech.SpeechRecognizer createSpeechRecognizer(android.content.Context) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.RecognitionService android.os.IBinder onBind(android.content.Intent)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.SpeechRecognizer android.speech.SpeechRecognizer createSpeechRecognizer(android.content.Context, android.content.ComponentName) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.SpeechRecognizer void startListening(android.content.Intent) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.SpeechRecognizer boolean isRecognitionAvailable(android.content.Context) 0'>
<item name='android.speech.SpeechRecognizer android.speech.SpeechRecognizer createSpeechRecognizer(android.content.Context)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.IRecognitionService.Stub android.os.IBinder asBinder()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.IRecognitionListener.Stub android.os.IBinder asBinder()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
</root>
@@ -1,20 +1,26 @@
<root>
<item name='android.speech.srec.WaveHeader android.speech.srec.WaveHeader setSampleRate(int)'>
<item name='android.speech.srec.WaveHeader android.speech.srec.WaveHeader setNumChannels(short)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.srec.WaveHeader int write(java.io.OutputStream) 0'>
<item name='android.speech.srec.Recognizer java.lang.String eventToString(int)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.srec.WaveHeader android.speech.srec.WaveHeader setBitsPerSample(short)'>
<item name='android.speech.srec.UlawEncoderInputStream int read(byte[], int, int) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.srec.WaveHeader android.speech.srec.WaveHeader setNumBytes(int)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.srec.WaveHeader android.speech.srec.WaveHeader setFormat(short)'>
<item name='android.speech.srec.WaveHeader int write(java.io.OutputStream) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.srec.Recognizer java.lang.String eventToString(int)'>
<item name='android.speech.srec.WaveHeader java.lang.String toString()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.srec.MicrophoneInputStream int read(byte[], int, int) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.srec.WaveHeader android.speech.srec.WaveHeader setSampleRate(int)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.srec.Recognizer void putAudio(java.io.InputStream) 0'>
@@ -26,15 +32,15 @@
<item name='android.speech.srec.Recognizer.Grammar Grammar(android.speech.srec.Recognizer, java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.srec.WaveHeader java.lang.String toString()'>
<item name='android.speech.srec.WaveHeader android.speech.srec.WaveHeader setBitsPerSample(short)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.srec.WaveHeader android.speech.srec.WaveHeader setFormat(short)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.srec.UlawEncoderInputStream int read(byte[]) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.srec.WaveHeader android.speech.srec.WaveHeader setNumChannels(short)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.srec.WaveHeader int read(java.io.InputStream) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -2,43 +2,52 @@
<item name='android.speech.tts.TextToSpeechService android.os.IBinder onBind(android.content.Intent) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.TextToSpeech int isLanguageAvailable(java.util.Locale) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.TtsEngines java.lang.String[] parseLocalePref(java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.ITextToSpeechCallback.Stub android.os.IBinder asBinder()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.ITextToSpeechService.Stub android.os.IBinder asBinder()'>
<item name='android.speech.tts.TextToSpeech int isLanguageAvailable(java.util.Locale) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.SynthesisRequest android.os.Bundle getParams()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.TextToSpeech java.util.List&lt;android.speech.tts.TextToSpeech.EngineInfo&gt; getEngines()'>
<item name='android.speech.tts.SynthesisRequest SynthesisRequest(java.lang.String, android.os.Bundle) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.SynthesisRequest SynthesisRequest(java.lang.String, android.os.Bundle) 1'>
<item name='android.speech.tts.ITextToSpeechService.Stub android.os.IBinder asBinder()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.TextToSpeech int addEarcon(java.lang.String, java.lang.String) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.TtsEngines java.util.List&lt;android.speech.tts.TextToSpeech.EngineInfo&gt; getEngines()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.TextToSpeech int addSpeech(java.lang.String, java.lang.String) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.ITextToSpeechService.Stub boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) 2'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.TextToSpeech java.util.Set&lt;java.lang.String&gt; getFeatures(java.util.Locale) 0'>
<item name='android.speech.tts.ITextToSpeechCallback.Stub boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) 2'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.TextToSpeech.EngineInfo java.lang.String toString()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.TextToSpeech int addSpeech(java.lang.String, java.lang.String) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.TextToSpeech java.util.List&lt;android.speech.tts.TextToSpeech.EngineInfo&gt; getEngines()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.TextToSpeech java.util.Set&lt;java.lang.String&gt; getFeatures(java.util.Locale) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.ITextToSpeechService.Stub boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) 2'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.ITextToSpeechCallback.Stub boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.TtsEngines java.util.List&lt;android.speech.tts.TextToSpeech.EngineInfo&gt; getEngines()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.ITextToSpeechCallback.Stub android.os.IBinder asBinder()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.speech.tts.ITextToSpeechService.Stub boolean onTransact(int, android.os.Parcel, android.os.Parcel, int) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
</root>