|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.tools.xjc.reader.TypeUtil
public class TypeUtil
Type-related utility methods.
| Constructor Summary | |
|---|---|
TypeUtil()
|
|
| Method Summary | |
|---|---|
static JType |
getCommonBaseType(JCodeModel codeModel,
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,
String typeName,
ErrorReceiver errorHandler,
Locator errorSource)
Obtains a JType object for the string representation
of a type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeUtil()
| Method Detail |
|---|
public static JType getCommonBaseType(JCodeModel codeModel,
Collection<? extends JType> types)
types - set of JType objects.
public static JType getCommonBaseType(JCodeModel codeModel,
JType... t)
public static JType getType(JCodeModel codeModel,
String typeName,
ErrorReceiver errorHandler,
Locator errorSource)
JType object for the string representation
of a type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||