Skip to content

Commit

Permalink
Workaround for google/error-prone#4335
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob committed Mar 20, 2024
1 parent e9e1875 commit c3079a7
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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();
}

0 comments on commit c3079a7

Please sign in to comment.