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
ConstructorsModifierConstructorDescriptionprivateTypeVariableDefinitionImpl(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) booleangetName()getType()inthashCode()voidsetEnclosingType(IType enclosingType) (package private) voidvoidsetType(TypeVariableType type) voidsetTypeVar(GenericTypeVariable typeVar) voidsetVariance(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:
getTypein interfaceITypeVariableDefinition
-
setType
-
getEnclosingType
- Specified by:
getEnclosingTypein interfaceITypeVariableDefinition
-
setEnclosingType
- Specified by:
setEnclosingTypein interfaceITypeVariableDefinition
-
getName
- Specified by:
getNamein interfaceITypeVariableDefinition
-
setName
-
getTypeVar
- Specified by:
getTypeVarin interfaceITypeVariableDefinition
-
setTypeVar
-
getBoundingType
- Specified by:
getBoundingTypein interfaceITypeVariableDefinition
-
getVariance
- Specified by:
getVariancein interfaceITypeVariableDefinition
-
setVariance
- Specified by:
setVariancein interfaceITypeVariableDefinition
-
equals
-
hashCode
public int hashCode() -
toString
-
clone
- Specified by:
clonein interfaceITypeVariableDefinition- Overrides:
clonein classObject
-
cloneShallow
-
clone
-