public class TypeUtil
extends java.lang.Object
| Constructor and Description |
|---|
TypeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static JType |
getCommonBaseType(JCodeModel codeModel,
java.util.Collection<? extends JType> types)
Computes the common base type of two types.
|
static JType |
getCommonBaseType(JCodeModel codeModel,
JType... t)
Computes the common base type of types.
|
static JType |
getType(JCodeModel codeModel,
java.lang.String typeName,
ErrorReceiver errorHandler,
org.xml.sax.Locator errorSource)
Obtains a
JType object for the string representation
of a type. |
public static JType getCommonBaseType(JCodeModel codeModel,
java.util.Collection<? extends JType> types)
types - set of JType objects.public static JType getCommonBaseType(JCodeModel codeModel,
JType... t)
public static JType getType(JCodeModel codeModel,
java.lang.String typeName,
ErrorReceiver errorHandler,
org.xml.sax.Locator errorSource)
JType object for the string representation
of a type.