-
Notifications
You must be signed in to change notification settings - Fork 11k
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
One version of Parameter
lacks the getAnnotatedType()
method
#5630
Comments
The note I see there about type annotations says: "Type annotation information is only available at compile time, and not at runtime." That suggests that the reflection API doesn't have access to type annotations. Does that sound correct? |
Oh, is Thanks for the correction to my (lack of) assumption; I appreciate your help! When |
There are probably half a dozen unfortunate things that are intersecting here. Among them:
The long-term plan will likely be:
I'm not sure if any of that helps with the immediate |
Chris, the long-term plan you laid out is actually very helpful. Thanks! I think I will just disable the NullPointerTests under Android for now, extricating myself from the rat's nest I have wandered into. |
The variant of class
com.google.common.reflect.Parameter
that is defined in fileandroid/guava/src/com/google/common/reflect/Parameter.java
lacks thegetAnnotatedType()
method that appears infile
guava/src/com/google/common/reflect/Parameter.java
. I think this method should appear in the Android version too, since (according to my reading of https://developer.android.com/studio/write/java8-support) Android does support type annotations.The text was updated successfully, but these errors were encountered: