Class TypeVariableDefinitionImpl
- java.lang.Object
-
- gw.internal.gosu.parser.expressions.TypeVariableDefinitionImpl
-
- All Implemented Interfaces:
ITypeVariableDefinition
public class TypeVariableDefinitionImpl extends Object implements ITypeVariableDefinition
-
-
Constructor Summary
Constructors Constructor Description TypeVariableDefinitionImpl()
TypeVariableDefinitionImpl(TypeVariableType type, String strName, IType enclosingType, IType boundingType, GenericTypeVariable typeVar, Variance variance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeVariableDefinitionImpl
clone()
TypeVariableDefinitionImpl
clone(IType boundingType)
TypeVariableDefinitionImpl
cloneShallow(IType boundingType)
boolean
equals(Object o)
IType
getBoundingType()
IType
getEnclosingType()
String
getName()
TypeVariableType
getType()
GenericTypeVariable
getTypeVar()
Variance
getVariance()
int
hashCode()
void
setEnclosingType(IType enclosingType)
void
setType(TypeVariableType type)
void
setTypeVar(GenericTypeVariable typeVar)
void
setVariance(Variance variance)
String
toString()
-
-
-
Constructor Detail
-
TypeVariableDefinitionImpl
public TypeVariableDefinitionImpl()
-
TypeVariableDefinitionImpl
public TypeVariableDefinitionImpl(TypeVariableType type, String strName, IType enclosingType, IType boundingType, GenericTypeVariable typeVar, Variance variance)
-
-
Method Detail
-
getType
public TypeVariableType getType()
- Specified by:
getType
in interfaceITypeVariableDefinition
-
setType
public void setType(TypeVariableType type)
-
getEnclosingType
public IType getEnclosingType()
- Specified by:
getEnclosingType
in interfaceITypeVariableDefinition
-
setEnclosingType
public void setEnclosingType(IType enclosingType)
- Specified by:
setEnclosingType
in interfaceITypeVariableDefinition
-
getName
public String getName()
- Specified by:
getName
in interfaceITypeVariableDefinition
-
getTypeVar
public GenericTypeVariable getTypeVar()
- Specified by:
getTypeVar
in interfaceITypeVariableDefinition
-
setTypeVar
public void setTypeVar(GenericTypeVariable typeVar)
-
getBoundingType
public IType getBoundingType()
- Specified by:
getBoundingType
in interfaceITypeVariableDefinition
-
getVariance
public Variance getVariance()
- Specified by:
getVariance
in interfaceITypeVariableDefinition
-
setVariance
public void setVariance(Variance variance)
- Specified by:
setVariance
in interfaceITypeVariableDefinition
-
clone
public TypeVariableDefinitionImpl clone()
- Specified by:
clone
in interfaceITypeVariableDefinition
- Overrides:
clone
in classObject
-
cloneShallow
public TypeVariableDefinitionImpl cloneShallow(IType boundingType)
-
clone
public TypeVariableDefinitionImpl clone(IType boundingType)
-
-