Class JavaSourceTypeVariable
java.lang.Object
gw.internal.gosu.parser.java.classinfo.JavaSourceTypeVariable
- All Implemented Interfaces:
IJavaClassType
,IJavaClassTypeVariable
,Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IJavaClassType[]
private String
private ITypeInfoResolver
private com.sun.source.tree.TypeParameterTree
private Variance
static final JavaSourceTypeVariable[]
Fields inherited from interface gw.lang.reflect.java.IJavaClassType
EMPTY_ARRAY, ERROR_TYPE, NULL_TYPE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
JavaSourceTypeVariable
(ITypeInfoResolver owner, com.sun.source.tree.TypeParameterTree typeParameter) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
static IJavaClassTypeVariable
create
(ITypeInfoResolver owner, com.sun.source.tree.TypeParameterTree node) getActualType
(TypeVarToTypeMap typeMap) getActualType
(TypeVarToTypeMap typeMap, boolean bKeepTypeVars) getName()
boolean
isArray()
boolean
void
setVariance
(Variance variance) 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 Details
-
EMPTY
-
_typeParameter
private com.sun.source.tree.TypeParameterTree _typeParameter -
_name
-
_bounds
-
_owner
-
_variance
-
-
Constructor Details
-
JavaSourceTypeVariable
private JavaSourceTypeVariable(ITypeInfoResolver owner, com.sun.source.tree.TypeParameterTree typeParameter)
-
-
Method Details
-
copy
-
create
public static IJavaClassTypeVariable create(ITypeInfoResolver owner, com.sun.source.tree.TypeParameterTree node) -
getConcreteType
- Specified by:
getConcreteType
in interfaceIJavaClassType
-
getNamespace
- Specified by:
getNamespace
in interfaceIJavaClassType
-
getBounds
- Specified by:
getBounds
in interfaceIJavaClassTypeVariable
-
getName
- Specified by:
getName
in interfaceIJavaClassType
- Specified by:
getName
in interfaceIJavaClassTypeVariable
-
getSimpleName
- Specified by:
getSimpleName
in interfaceIJavaClassType
-
getModule
- Specified by:
getModule
in interfaceIJavaClassType
-
getActualType
- Specified by:
getActualType
in interfaceIJavaClassType
-
getActualType
- Specified by:
getActualType
in interfaceIJavaClassType
-
isFunctionTypeVar
public boolean isFunctionTypeVar()- Specified by:
isFunctionTypeVar
in interfaceIJavaClassTypeVariable
-
getVariance
- Specified by:
getVariance
in interfaceIJavaClassTypeVariable
-
setVariance
- Specified by:
setVariance
in interfaceIJavaClassTypeVariable
-
toString
-
isArray
public boolean isArray()- Specified by:
isArray
in interfaceIJavaClassType
-
getComponentType
- Specified by:
getComponentType
in interfaceIJavaClassType
-