org.eclipse.internal.xtend.type.baseimpl.types
Class CollectionTypeImpl
java.lang.Object
org.eclipse.xtend.typesystem.AbstractTypeImpl
org.eclipse.internal.xtend.type.baseimpl.types.BuiltinBaseType
org.eclipse.internal.xtend.type.baseimpl.types.CollectionTypeImpl
- All Implemented Interfaces:
- ParameterizedType, Type
- Direct Known Subclasses:
- ListTypeImpl, SetTypeImpl
public class CollectionTypeImpl
- extends BuiltinBaseType
- implements ParameterizedType
- Author:
- Sven Efftinge (http://www.efftinge.de), Arno Haase
Methods inherited from class org.eclipse.xtend.typesystem.AbstractTypeImpl |
convert, equals, getAllFeatures, getAllOperations, getAllProperties, getAllStaticProperties, getDocumentation, getFeature, getName, getOperation, getProperty, getStaticProperty, getTypeSystem, hashCode, internalGetSuperTypes, isAbstract, isAssignableFrom |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.xtend.typesystem.Type |
convert, getAllFeatures, getAllOperations, getAllProperties, getAllStaticProperties, getDocumentation, getFeature, getName, getOperation, getProperty, getStaticProperty, getTypeSystem, isAbstract, isAssignableFrom |
CollectionTypeImpl
public CollectionTypeImpl(Type innerType,
TypeSystem ts,
java.lang.String name)
getInnerType
public Type getInnerType()
- Specified by:
getInnerType
in interface ParameterizedType
cloneWithInnerType
public ParameterizedType cloneWithInnerType(Type innerType)
- Specified by:
cloneWithInnerType
in interface ParameterizedType
internalIsAssignableFrom
protected boolean internalIsAssignableFrom(Type t)
- Overrides:
internalIsAssignableFrom
in class AbstractTypeImpl
isInstance
public boolean isInstance(java.lang.Object o)
- Specified by:
isInstance
in interface Type
newInstance
public java.lang.Object newInstance()
- Specified by:
newInstance
in interface Type
getContributedFeatures
public Feature[] getContributedFeatures()
- Specified by:
getContributedFeatures
in class AbstractTypeImpl
getSuperTypes
public java.util.Set<Type> getSuperTypes()
- Specified by:
getSuperTypes
in interface Type
- Overrides:
getSuperTypes
in class AbstractTypeImpl
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractTypeImpl