phax / jcodemodel

A heavily extended fork of the com.sun.codemodel (from 2013/09)
Other
93 stars 34 forks source link

Multiple bounds on type variables are not supported by JCodeModel #8

Closed stevebarham closed 9 years ago

stevebarham commented 9 years ago

JTypeVar only supports a single bound; this prevents declarations of the form:

public <T extends Comparable<T> & Serializable> T foo(Bar bar);