Comparing v1.18.1...v1.19.0 · google/google-java-format
Commits on Oct 30, 2023
-
Handle type annotations on method reference qualifiers
e.g. ``` Supplier<List<?>> a = @A(0x45) ArrayList::new; Supplier<List<?>> b = @A(0x46) ImmutableList::of; ``` The necessary logic is already there, but the start position information for the method reference doesn't include the leading type annotations, which was resulting in an assertion to fail. PiperOrigin-RevId: 577850593
cushon authored and google-java-format Team committed
Oct 30, 2023