From fb7e15cf9819aa3f1e9e572a9fb0603ae3d0d754 Mon Sep 17 00:00:00 2001 From: Gijs de Jong Date: Tue, 27 Jun 2023 11:04:13 +0200 Subject: [PATCH] Add `StaticImport` case to reproduce error --- src/main/java/com/example/HelloWorld.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/example/HelloWorld.java b/src/main/java/com/example/HelloWorld.java index d685e89..9b14781 100644 --- a/src/main/java/com/example/HelloWorld.java +++ b/src/main/java/com/example/HelloWorld.java @@ -1,5 +1,6 @@ package com.example; +import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; public final class HelloWorld { @@ -17,6 +18,10 @@ public static ImmutableSet helloWorld() { return ImmutableSet.copyOf(set); } + public static ImmutableList helloWorldCharacters() { + return "Hello World!".chars().boxed().collect(ImmutableList.toImmutableList()); + } + public static boolean isEmpty(String str) { return str.length() == 0; }