org.eclipse.internal.xtend.type.baseimpl.types
Class ListTypeImpl

java.lang.Object
  extended by org.eclipse.xtend.typesystem.AbstractTypeImpl
      extended by org.eclipse.internal.xtend.type.baseimpl.types.BuiltinBaseType
          extended by org.eclipse.internal.xtend.type.baseimpl.types.CollectionTypeImpl
              extended by org.eclipse.internal.xtend.type.baseimpl.types.ListTypeImpl
All Implemented Interfaces:
ParameterizedType, Type
Direct Known Subclasses:
EmfListType

public class ListTypeImpl
extends CollectionTypeImpl

Author:
Sven Efftinge (http://www.efftinge.de), Arno Haase

Constructor Summary
ListTypeImpl(Type innerType, TypeSystem ts, java.lang.String name)
           
 
Method Summary
 ParameterizedType cloneWithInnerType(Type innerType)
           
 Feature[] getContributedFeatures()
           
 java.util.Set<Type> getSuperTypes()
           
 boolean isInstance(java.lang.Object o)
           
 java.lang.Object newInstance()
           
 
Methods inherited from class org.eclipse.internal.xtend.type.baseimpl.types.CollectionTypeImpl
getInnerType, internalIsAssignableFrom, toString
 
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
 

Constructor Detail

ListTypeImpl

public ListTypeImpl(Type innerType,
                    TypeSystem ts,
                    java.lang.String name)
Method Detail

isInstance

public boolean isInstance(java.lang.Object o)
Specified by:
isInstance in interface Type
Overrides:
isInstance in class CollectionTypeImpl

newInstance

public java.lang.Object newInstance()
Specified by:
newInstance in interface Type
Overrides:
newInstance in class CollectionTypeImpl

cloneWithInnerType

public ParameterizedType cloneWithInnerType(Type innerType)
Specified by:
cloneWithInnerType in interface ParameterizedType
Overrides:
cloneWithInnerType in class CollectionTypeImpl

getContributedFeatures

public Feature[] getContributedFeatures()
Overrides:
getContributedFeatures in class CollectionTypeImpl

getSuperTypes

public java.util.Set<Type> getSuperTypes()
Specified by:
getSuperTypes in interface Type
Overrides:
getSuperTypes in class CollectionTypeImpl