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
@@ -0,0 +1,83 @@
<root>
<item name='org.apache.http.client.HttpClient T execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler&lt;? extends T&gt;) 2'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.AuthenticationHandler org.apache.http.auth.AuthScheme selectScheme(java.util.Map&lt;java.lang.String,org.apache.http.Header&gt;, org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) 2'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.CredentialsProvider void setCredentials(org.apache.http.auth.AuthScope, org.apache.http.auth.Credentials) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.HttpClient T execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler&lt;? extends T&gt;, org.apache.http.protocol.HttpContext) 2'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.RedirectHandler java.net.URI getLocationURI(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.HttpClient T execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler&lt;? extends T&gt;) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.UserTokenHandler java.lang.Object getUserToken(org.apache.http.protocol.HttpContext) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.ResponseHandler T handleResponse(org.apache.http.HttpResponse) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.RedirectHandler boolean isRedirectRequested(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.HttpClient org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.protocol.HttpContext) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.HttpClient T execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler&lt;? extends T&gt;) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.AuthenticationHandler org.apache.http.auth.AuthScheme selectScheme(java.util.Map&lt;java.lang.String,org.apache.http.Header&gt;, org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.HttpClient T execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.client.ResponseHandler&lt;? extends T&gt;, org.apache.http.protocol.HttpContext) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.AuthenticationHandler java.util.Map&lt;java.lang.String,org.apache.http.Header&gt; getChallenges(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.HttpClient org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.RequestDirector org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.CredentialsProvider org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.HttpClient T execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler&lt;? extends T&gt;, org.apache.http.protocol.HttpContext) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.HttpClient T execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler&lt;? extends T&gt;, org.apache.http.protocol.HttpContext) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.AuthenticationHandler boolean isAuthenticationRequested(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.HttpRequestRetryHandler boolean retryRequest(java.io.IOException, int, org.apache.http.protocol.HttpContext) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.HttpClient T execute(org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler&lt;? extends T&gt;) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.HttpClient org.apache.http.HttpResponse execute(org.apache.http.HttpHost, org.apache.http.HttpRequest) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.HttpRequestRetryHandler boolean retryRequest(java.io.IOException, int, org.apache.http.protocol.HttpContext) 2'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.RedirectHandler java.net.URI getLocationURI(org.apache.http.HttpResponse, org.apache.http.protocol.HttpContext)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.CookieStore java.util.List&lt;org.apache.http.cookie.Cookie&gt; getCookies()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.HttpClient org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
</root>
@@ -1,62 +1,68 @@
<root>
<item name='org.apache.http.client.methods.HttpPut java.lang.String getMethod()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpOptions java.util.Set&lt;java.lang.String&gt; getAllowedMethods(org.apache.http.HttpResponse)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpDelete HttpDelete(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpRequestBase org.apache.http.ProtocolVersion getProtocolVersion()'>
<item name='org.apache.http.client.methods.HttpRequestBase java.lang.Object clone()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpOptions java.util.Set&lt;java.lang.String&gt; getAllowedMethods(org.apache.http.HttpResponse) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpPost java.lang.String getMethod()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpGet HttpGet(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpTrace java.lang.String getMethod()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpHead HttpHead(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpGet java.lang.String getMethod()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpOptions java.lang.String getMethod()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpPost HttpPost(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpTrace HttpTrace(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpPut java.lang.String getMethod()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpPut HttpPut(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpOptions java.lang.String getMethod()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpRequestBase org.apache.http.RequestLine getRequestLine()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpOptions HttpOptions(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpDelete java.lang.String getMethod()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpEntityEnclosingRequestBase java.lang.Object clone()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpRequestBase java.lang.Object clone()'>
<item name='org.apache.http.client.methods.HttpPut HttpPut(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpHead java.lang.String getMethod()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpTrace java.lang.String getMethod()'>
<item name='org.apache.http.client.methods.HttpRequestBase org.apache.http.RequestLine getRequestLine()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpGet java.lang.String getMethod()'>
<item name='org.apache.http.client.methods.HttpPost java.lang.String getMethod()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpOptions java.util.Set&lt;java.lang.String&gt; getAllowedMethods(org.apache.http.HttpResponse)'>
<item name='org.apache.http.client.methods.HttpOptions HttpOptions(java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpRequestBase org.apache.http.ProtocolVersion getProtocolVersion()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpUriRequest java.lang.String getMethod()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.methods.HttpRequestBase java.lang.String getMethod()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
</root>
@@ -14,13 +14,13 @@
<item name='org.apache.http.client.params.HttpClientParams boolean isAuthenticating(org.apache.http.params.HttpParams) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.params.HttpClientParams java.lang.String getCookiePolicy(org.apache.http.params.HttpParams)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.params.HttpClientParams void setAuthenticating(org.apache.http.params.HttpParams, boolean) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.params.HttpClientParams void setCookiePolicy(org.apache.http.params.HttpParams, java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.params.HttpClientParams java.lang.String getCookiePolicy(org.apache.http.params.HttpParams)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
</root>
@@ -2,6 +2,9 @@
<item name='org.apache.http.client.protocol.RequestProxyAuthentication void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.protocol.RequestDefaultHeaders void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.protocol.RequestDefaultHeaders void process(org.apache.http.HttpRequest, org.apache.http.protocol.HttpContext) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
@@ -5,55 +5,55 @@
<item name='org.apache.http.client.utils.URLEncodedUtils java.lang.String format(java.util.List&lt;? extends org.apache.http.NameValuePair&gt;, java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URLEncodedUtils java.util.List&lt;org.apache.http.NameValuePair&gt; parse(org.apache.http.HttpEntity)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URIUtils java.net.URI resolve(java.net.URI, java.lang.String) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URLEncodedUtils java.util.List&lt;org.apache.http.NameValuePair&gt; parse(java.net.URI, java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URIUtils java.net.URI resolve(java.net.URI, java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URLEncodedUtils java.lang.String format(java.util.List&lt;? extends org.apache.http.NameValuePair&gt;, java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URIUtils java.net.URI resolve(java.net.URI, java.lang.String) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URLEncodedUtils java.util.List&lt;org.apache.http.NameValuePair&gt; parse(java.net.URI, java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URIUtils java.net.URI resolve(java.net.URI, java.net.URI) 1'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URLEncodedUtils java.util.List&lt;org.apache.http.NameValuePair&gt; parse(org.apache.http.HttpEntity)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URIUtils java.net.URI rewriteURI(java.net.URI, org.apache.http.HttpHost) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URIUtils java.net.URI rewriteURI(java.net.URI, org.apache.http.HttpHost)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URIUtils java.net.URI resolve(java.net.URI, java.net.URI)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URIUtils java.net.URI rewriteURI(java.net.URI, org.apache.http.HttpHost, boolean)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URLEncodedUtils java.util.List&lt;org.apache.http.NameValuePair&gt; parse(org.apache.http.HttpEntity) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URIUtils java.net.URI resolve(java.net.URI, java.net.URI) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URLEncodedUtils java.lang.String format(java.util.List&lt;? extends org.apache.http.NameValuePair&gt;, java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URIUtils java.net.URI resolve(java.net.URI, java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URIUtils java.net.URI rewriteURI(java.net.URI, org.apache.http.HttpHost, boolean) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URLEncodedUtils java.util.List&lt;org.apache.http.NameValuePair&gt; parse(java.net.URI, java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URLEncodedUtils boolean isEncoded(org.apache.http.HttpEntity) 0'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URIUtils java.net.URI createURI(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URIUtils java.net.URI resolve(java.net.URI, java.net.URI)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
<item name='org.apache.http.client.utils.URIUtils java.net.URI rewriteURI(java.net.URI, org.apache.http.HttpHost, boolean)'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
</root>