Fixing generics for PluginContainer and friends.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fixing generics for PluginContainer and friends.

Luke Daley-2
Hi,

The generics for these guys are pretty messed up. Ideally, PluginCollection would also type the target type (e.g. PluginCollection<T, P extends Plugin<T>>).

I don’t really understand the binary compatibility implications of generics changes. Is this a change we could make for 2.0?

— 

Luke Daley
Gradleware
Join us for Gradle Summit 2014, June 12th and 13th in Santa Clara, CA: http://www.gradlesummit.com