-
Notifications
You must be signed in to change notification settings - Fork 745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class file for com.google.errorprone.annotations.RestrictedInheritance not found #4335
Comments
WorkaroundCreate a new file at package com.google.errorprone.annotations;
/**
* Workaround for <code>class file for com.google.errorprone.annotations.RestrictedInheritance not found</code>.
*
* <pre><code>
* warning: Cannot find annotation method 'explanation()' in type 'RestrictedInheritance'
* warning: Cannot find annotation method 'link()' in type 'RestrictedInheritance'
* warning: Cannot find annotation method 'allowedOnPath()' in type 'RestrictedInheritance'
* warning: Cannot find annotation method 'allowlistAnnotations()' in type 'RestrictedInheritance'
* </code></pre>
*
* @see <a href="https://github.com/google/error-prone/issues/4335">Report</a>
*/
public @interface RestrictedInheritance {
String explanation();
String link();
String allowedOnPath();
Class<?>[] allowlistAnnotations();
} |
Thanks for the report!
We may eventually finalize the annotation to and include it in |
Thanks for forwarding the issue internally! |
Just updated Google Places SDK from 3.3.0 to 3.4.0 which bumped play-services-base from 18.0.1 to 18.3.0, resulting in the following problems:
Can you please add the
RestrictedInheritance
annotation and checker to the error-prone artifacts? or hide the private annotation from the public API.The text was updated successfully, but these errors were encountered: