org.jboss.errai.codegen.meta.impl.gwt
Class GWTTypeVariable
java.lang.Object
org.jboss.errai.codegen.meta.impl.gwt.GWTTypeVariable
- All Implemented Interfaces:
- MetaType, MetaTypeVariable
public class GWTTypeVariable
- extends Object
- implements MetaTypeVariable
- Author:
- Mike Brock
Constructor Summary |
GWTTypeVariable(com.google.gwt.core.ext.typeinfo.TypeOracle oracle,
com.google.gwt.core.ext.typeinfo.JTypeParameter typeParameter)
|
Method Summary |
MetaType[] |
getBounds()
Returns an array of the upper bounds on this type variable. |
String |
getName()
Returns the name of this type as it was written in the original source code. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GWTTypeVariable
public GWTTypeVariable(com.google.gwt.core.ext.typeinfo.TypeOracle oracle,
com.google.gwt.core.ext.typeinfo.JTypeParameter typeParameter)
getBounds
public MetaType[] getBounds()
- Description copied from interface:
MetaTypeVariable
- Returns an array of the upper bounds on this type variable. For each entry
in the array, if the bound can be resolved to a type, it will be resolved
(the array entry will be a
MetaClass
or a
MetaParameterizedType
); otherwise (the type variable is
unresolvable) it will be a type variable or a parameterized type with an
unresolved type variable itself.
- Specified by:
getBounds
in interface MetaTypeVariable
getName
public String getName()
- Description copied from interface:
MetaType
- Returns the name of this type as it was written in the original source code.
- Specified by:
getName
in interface MetaType
- Returns:
- The name of this type as it was written in the original source code.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.