Is there something like `com.google.common.annotat...
# random
z
Is there something like
com.google.common.annotations.VisibleForTesting
without the need of importing guava?
g
Part of Android support annotations (can be used for java projects too)
z
I'm not doing Android 😕
g
Yes, I understand, but it’s actually not only Android specific, support annotations library is pure java library with annotations. Also Android Lint will eventually support (or probably already supports) pure Java projects so can check usage of such annotations: https://developer.android.com/reference/android/support/annotation/package-summary.html
But there are a few Android specific annotations, related to resources. Would be good split android.support.annotation to 2 libraries, one only with annotations that useful for all types of projects and one with Android specific
z
Thanks for the clarification 🙂