Skip to content

Commit

Permalink
Recognize MethodHandle as immutable.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 539754163
  • Loading branch information
cpovirk authored and Error Prone Team committed Jun 12, 2023
1 parent 7f36856 commit 3195ab0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ private static ImmutableMap<String, AnnotationInfo> buildImmutableClasses(
.add("android.net.Uri")
.add("android.util.Size")
.add("java.awt.Color")
.add("java.lang.invoke.MethodHandle")
.add("java.util.AbstractMap$SimpleImmutableEntry", "K", "V")
.add("java.util.Optional", "T")
.add("java.util.OptionalDouble")
Expand Down

0 comments on commit 3195ab0

Please sign in to comment.