in end of code is this error what problem? tried many fixes but no ones help https://i.stack.imgur.com/jwosT.png
return (List<String>) ImmutableList.of();
The problem with this is that the type of
ImmutableList.of() is determined before the cast is applied.
The type of
ImmutableList.of() in that context is
ImmutableList<Object> isn’t an
I’m surprised you need any type hinting here: