| java.lang.Object com.sun.tools.xjc.reader.TypeUtil
getCommonBaseType | public static JType getCommonBaseType(JCodeModel codeModel, JType... t)(Code) | | Computes the common base type of types.
TODO: this is a very interesting problem. Since one type has possibly
multiple base types, it's not an easy problem.
The current implementation is very naive.
To make the result deterministic across differente JVMs, we have to
use a Set whose ordering is deterministic.
|
|
|