Guice loves class literals:
bind(Foo.class)
.toProvider(FooProvider.class);`</pre>
Today I found out that there's a simple syntax for declaring a literal array. Just add an extra pair of square brackets:
<pre class="prettyprint">` bind(Foo[].class)
.toProvider(FooArrayProvider.class);