Class TypeVariableDefinitionImpl
java.lang.Object
gw.internal.gosu.parser.expressions.TypeVariableDefinitionImpl
- All Implemented Interfaces:
ITypeVariableDefinition
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) IType
(package private) IType
(package private) String
(package private) TypeVariableType
(package private) GenericTypeVariable
(package private) Variance
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
TypeVariableDefinitionImpl
(TypeVariableDefinitionImpl tvd, IType boundingType) TypeVariableDefinitionImpl
(TypeVariableType type, String strName, IType enclosingType, IType boundingType, GenericTypeVariable typeVar, Variance variance) -
Method Summary
Modifier and TypeMethodDescriptionclone()
cloneShallow
(IType boundingType) boolean
getName()
getType()
int
hashCode()
void
setEnclosingType
(IType enclosingType) (package private) void
void
setType
(TypeVariableType type) void
setTypeVar
(GenericTypeVariable typeVar) void
setVariance
(Variance variance) toString()
-
Field Details
-
_type
TypeVariableType _type -
_strName
String _strName -
_enclosingType
IType _enclosingType -
_boundingType
IType _boundingType -
_typeVar
GenericTypeVariable _typeVar -
_variance
Variance _variance
-
-
Constructor Details
-
TypeVariableDefinitionImpl
public TypeVariableDefinitionImpl() -
TypeVariableDefinitionImpl
public TypeVariableDefinitionImpl(TypeVariableType type, String strName, IType enclosingType, IType boundingType, GenericTypeVariable typeVar, Variance variance) -
TypeVariableDefinitionImpl
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceITypeVariableDefinition
-
setType
-
getEnclosingType
- Specified by:
getEnclosingType
in interfaceITypeVariableDefinition
-
setEnclosingType
- Specified by:
setEnclosingType
in interfaceITypeVariableDefinition
-
getName
- Specified by:
getName
in interfaceITypeVariableDefinition
-
setName
-
getTypeVar
- Specified by:
getTypeVar
in interfaceITypeVariableDefinition
-
setTypeVar
-
getBoundingType
- Specified by:
getBoundingType
in interfaceITypeVariableDefinition
-
getVariance
- Specified by:
getVariance
in interfaceITypeVariableDefinition
-
setVariance
- Specified by:
setVariance
in interfaceITypeVariableDefinition
-
equals
-
hashCode
public int hashCode() -
toString
-
clone
- Specified by:
clone
in interfaceITypeVariableDefinition
- Overrides:
clone
in classObject
-
cloneShallow
-
clone
-