java: experimental <any T> support