Fixed wrong annotations for android.content.ComponentName

ComponentName.getClassName() and ComponentName.getPackageName() cannot return null. Also it's not possible to create ComponentName with null packageName or className
This commit is contained in:
Aleksandro Eterverda
2013-09-25 00:32:12 +04:00
parent b924fbbf85
commit 06b9f3d7b9
@@ -758,6 +758,15 @@
<item name='android.content.ComponentName ComponentName(android.content.Context, java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.content.ComponentName ComponentName(android.content.Context, java.lang.String) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.content.ComponentName ComponentName(java.lang.String, java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.content.ComponentName ComponentName(java.lang.String, java.lang.String) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.content.ContentProviderOperation android.content.ContentProviderResult apply(android.content.ContentProvider, android.content.ContentProviderResult[], int)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -1421,6 +1430,12 @@
<item name='android.content.ComponentName java.lang.String flattenToString()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.content.ComponentName java.lang.String getPackageName()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.content.ComponentName java.lang.String getClassName()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='android.content.ContentProvider android.net.Uri insert(android.net.Uri, android.content.ContentValues) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>