You're running into a limitation of Java's type sy...
# getting-started
d
You're running into a limitation of Java's type system here. Java does not have the declaration-site variance.