public class

ModelUtils

extends Object
java.lang.Object
   ↳ com.google.gwt.editor.rebind.model.ModelUtils

Class Overview

Utility class for common model methods.

Summary

Public Methods
static <T extends JType> T ensureBaseType(T maybeParameterized)
static JClassType[] findParameterizationOf(JClassType intfType, JClassType subType)
static String getQualifiedBaseBinaryName(JType type)
Given a JType, return the binary name of the class that is most proximately assignable to the type.
static String getQualifiedBaseSourceName(JType type)
Given a JType, return the source name of the class that is most proximately assignable to the type.
static boolean isValueType(TypeOracle oracle, JType type)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static T ensureBaseType (T maybeParameterized)

public static JClassType[] findParameterizationOf (JClassType intfType, JClassType subType)

public static String getQualifiedBaseBinaryName (JType type)

Given a JType, return the binary name of the class that is most proximately assignable to the type. This method will resolve type parameters as well as wildcard types.

public static String getQualifiedBaseSourceName (JType type)

Given a JType, return the source name of the class that is most proximately assignable to the type. This method will resolve type parameters as well as wildcard types.

public static boolean isValueType (TypeOracle oracle, JType type)