public class TypeUtil
extends java.lang.Object
| Constructor | Description |
|---|---|
TypeUtil() |
| Modifier and Type | Method | Description |
|---|---|---|
static JType |
getCommonBaseType(JCodeModel codeModel,
JType... t) |
Computes the common base type of types.
|
static JType |
getCommonBaseType(JCodeModel codeModel,
java.util.Collection<? extends JType> types) |
Computes the common base type of two 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.Copyright © 2017 Oracle Corporation. All rights reserved.