playframework/Play20 — pull request #580 by pk11 (2012-11-26 21:15:34+00:00)
Title: providing a simple way to create a custom Assets controller 

The main idea is to create `Assets` object from `AssetsBuilder` class, instead of extending `Controller`directly. This intermediate type could be then used both from Scala and Java in sub projects.

The benefits of this approach are:
- nothing has changed regarding `controllers.Assets`, ie no extra companion object is created (which means `controllers.Assets` can be called from a java controller)
- scala types are hidden from java users
- both API-s look fairly simple now

Examples:

- scala:
```
package controllers.my
object Assets extends controllers.AssetsBuilder
```

- java:
```
package controllers.my;
public class Assets {
public static controllers.AssetsBuilder delegate = new controllers.AssetsBuilder();
}
```