Class JavaSourceTypeVariable
- java.lang.Object
-
- gw.internal.gosu.parser.java.classinfo.JavaSourceTypeVariable
-
- All Implemented Interfaces:
IJavaClassType
,IJavaClassTypeVariable
,Serializable
public class JavaSourceTypeVariable extends Object implements IJavaClassTypeVariable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static JavaSourceTypeVariable[]
EMPTY
-
Fields inherited from interface gw.lang.reflect.java.IJavaClassType
EMPTY_ARRAY, ERROR_TYPE, NULL_TYPE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaSourceTypeVariable
copy()
static IJavaClassTypeVariable
create(ITypeInfoResolver owner, TypeParameterTree node)
IType
getActualType(TypeVarToTypeMap typeMap)
IType
getActualType(TypeVarToTypeMap typeMap, boolean bKeepTypeVars)
IJavaClassType[]
getBounds()
IJavaClassType
getComponentType()
IJavaClassType
getConcreteType()
IModule
getModule()
String
getName()
String
getNamespace()
String
getSimpleName()
Variance
getVariance()
boolean
isArray()
boolean
isFunctionTypeVar()
void
setVariance(Variance variance)
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.java.IJavaClassType
isAssignableFrom
-
-
-
-
Field Detail
-
EMPTY
public static final JavaSourceTypeVariable[] EMPTY
-
-
Method Detail
-
copy
public JavaSourceTypeVariable copy()
-
create
public static IJavaClassTypeVariable create(ITypeInfoResolver owner, TypeParameterTree node)
-
getConcreteType
public IJavaClassType getConcreteType()
- Specified by:
getConcreteType
in interfaceIJavaClassType
-
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in interfaceIJavaClassType
-
getBounds
public IJavaClassType[] getBounds()
- Specified by:
getBounds
in interfaceIJavaClassTypeVariable
-
getName
public String getName()
- Specified by:
getName
in interfaceIJavaClassType
- Specified by:
getName
in interfaceIJavaClassTypeVariable
-
getSimpleName
public String getSimpleName()
- Specified by:
getSimpleName
in interfaceIJavaClassType
-
getModule
public IModule getModule()
- Specified by:
getModule
in interfaceIJavaClassType
-
getActualType
public IType getActualType(TypeVarToTypeMap typeMap)
- Specified by:
getActualType
in interfaceIJavaClassType
-
getActualType
public IType getActualType(TypeVarToTypeMap typeMap, boolean bKeepTypeVars)
- Specified by:
getActualType
in interfaceIJavaClassType
-
isFunctionTypeVar
public boolean isFunctionTypeVar()
- Specified by:
isFunctionTypeVar
in interfaceIJavaClassTypeVariable
-
getVariance
public Variance getVariance()
- Specified by:
getVariance
in interfaceIJavaClassTypeVariable
-
setVariance
public void setVariance(Variance variance)
- Specified by:
setVariance
in interfaceIJavaClassTypeVariable
-
isArray
public boolean isArray()
- Specified by:
isArray
in interfaceIJavaClassType
-
getComponentType
public IJavaClassType getComponentType()
- Specified by:
getComponentType
in interfaceIJavaClassType
-
-