diff --git a/android/feature/range/src/main/java/com/google/errorprone/annotations/RestrictedInheritance.java b/android/feature/range/src/main/java/com/google/errorprone/annotations/RestrictedInheritance.java new file mode 100644 index 00000000..a3619633 --- /dev/null +++ b/android/feature/range/src/main/java/com/google/errorprone/annotations/RestrictedInheritance.java @@ -0,0 +1,20 @@ +package com.google.errorprone.annotations; + +/** + * Workaround for class file for com.google.errorprone.annotations.RestrictedInheritance not found. + * + *

+ * 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'
+ * 
+ * + * @see Report + */ +public @interface RestrictedInheritance { + String explanation(); + String link(); + String allowedOnPath(); + Class[] allowlistAnnotations(); +}