The following class gets flagged:
@RestrictTo(LIBRARY) public final class Utils {
public static void raiseEvent(final GeoFire geoFire, final Runnable runnable) {
geoFire.raiseEvent(runnable);
}
private Utils() {
throw new AssertionError("No instances.");
}
}
with [RestrictTo] @RestrictTo cannot be used outside the support library. The package of the utility class is com.firebase.geofire while all of the other things are in a different package. I basically need the Utility class to call a package private function. Is this a false positive?