public static JType getCommonBaseType ( JCodeModel codeModel , Collection < ? extends JType > types ) { return getCommonBaseType ( codeModel , types . toArray ( new JType [ types . size ( ) ] ) ) ; }
Computes the common base type of two types .