|
||||||||||
| 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 com.sun.codemodel.JType |
getCommonBaseType(com.sun.codemodel.JCodeModel codeModel,
java.util.Collection<? extends com.sun.codemodel.JType> types)
Computes the common base type of two types. |
static com.sun.codemodel.JType |
getCommonBaseType(com.sun.codemodel.JCodeModel codeModel,
com.sun.codemodel.JType... t)
Computes the common base type of types. |
static com.sun.codemodel.JType |
getType(com.sun.codemodel.JCodeModel codeModel,
java.lang.String typeName,
ErrorReceiver errorHandler,
org.xml.sax.Locator errorSource)
Obtains a JType object for the string representation
of a type. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeUtil()
| Method Detail |
|---|
public static com.sun.codemodel.JType getCommonBaseType(com.sun.codemodel.JCodeModel codeModel,
java.util.Collection<? extends com.sun.codemodel.JType> types)
types - set of JType objects.
public static com.sun.codemodel.JType getCommonBaseType(com.sun.codemodel.JCodeModel codeModel,
com.sun.codemodel.JType... t)
public static com.sun.codemodel.JType getType(com.sun.codemodel.JCodeModel codeModel,
java.lang.String typeName,
ErrorReceiver errorHandler,
org.xml.sax.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 | |||||||||