Class TypeVariableDefinitionImpl
- java.lang.Object
-
- gw.internal.gosu.parser.expressions.TypeVariableDefinitionImpl
-
- All Implemented Interfaces:
ITypeVariableDefinition
public class TypeVariableDefinitionImpl extends java.lang.Object implements ITypeVariableDefinition
-
-
Field Summary
Fields Modifier and Type Field Description (package private) IType_boundingType(package private) IType_enclosingType(package private) java.lang.String_strName(package private) TypeVariableType_type(package private) GenericTypeVariable_typeVar(package private) Variance_variance
-
Constructor Summary
Constructors Modifier Constructor Description TypeVariableDefinitionImpl()privateTypeVariableDefinitionImpl(TypeVariableDefinitionImpl tvd, IType boundingType)TypeVariableDefinitionImpl(TypeVariableType type, java.lang.String strName, IType enclosingType, IType boundingType, GenericTypeVariable typeVar, Variance variance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeVariableDefinitionImplclone()TypeVariableDefinitionImplclone(IType boundingType)TypeVariableDefinitionImplcloneShallow(IType boundingType)booleanequals(java.lang.Object o)ITypegetBoundingType()ITypegetEnclosingType()java.lang.StringgetName()TypeVariableTypegetType()GenericTypeVariablegetTypeVar()VariancegetVariance()inthashCode()voidsetEnclosingType(IType enclosingType)(package private) voidsetName(java.lang.String strName)voidsetType(TypeVariableType type)voidsetTypeVar(GenericTypeVariable typeVar)voidsetVariance(Variance variance)java.lang.StringtoString()
-
-
-
Field Detail
-
_type
TypeVariableType _type
-
_strName
java.lang.String _strName
-
_enclosingType
IType _enclosingType
-
_boundingType
IType _boundingType
-
_typeVar
GenericTypeVariable _typeVar
-
_variance
Variance _variance
-
-
Constructor Detail
-
TypeVariableDefinitionImpl
public TypeVariableDefinitionImpl()
-
TypeVariableDefinitionImpl
public TypeVariableDefinitionImpl(TypeVariableType type, java.lang.String strName, IType enclosingType, IType boundingType, GenericTypeVariable typeVar, Variance variance)
-
TypeVariableDefinitionImpl
private TypeVariableDefinitionImpl(TypeVariableDefinitionImpl tvd, IType boundingType)
-
-
Method Detail
-
getType
public TypeVariableType getType()
- Specified by:
getTypein interfaceITypeVariableDefinition
-
setType
public void setType(TypeVariableType type)
-
getEnclosingType
public IType getEnclosingType()
- Specified by:
getEnclosingTypein interfaceITypeVariableDefinition
-
setEnclosingType
public void setEnclosingType(IType enclosingType)
- Specified by:
setEnclosingTypein interfaceITypeVariableDefinition
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceITypeVariableDefinition
-
setName
void setName(java.lang.String strName)
-
getTypeVar
public GenericTypeVariable getTypeVar()
- Specified by:
getTypeVarin interfaceITypeVariableDefinition
-
setTypeVar
public void setTypeVar(GenericTypeVariable typeVar)
-
getBoundingType
public IType getBoundingType()
- Specified by:
getBoundingTypein interfaceITypeVariableDefinition
-
getVariance
public Variance getVariance()
- Specified by:
getVariancein interfaceITypeVariableDefinition
-
setVariance
public void setVariance(Variance variance)
- Specified by:
setVariancein interfaceITypeVariableDefinition
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
clone
public TypeVariableDefinitionImpl clone()
- Specified by:
clonein interfaceITypeVariableDefinition- Overrides:
clonein classjava.lang.Object
-
cloneShallow
public TypeVariableDefinitionImpl cloneShallow(IType boundingType)
-
clone
public TypeVariableDefinitionImpl clone(IType boundingType)
-
-