org.eclipse.xtext.common.types.util
Class SuperTypeCollector
java.lang.Object
org.eclipse.xtext.common.types.util.SuperTypeCollector
public class SuperTypeCollector
- extends java.lang.Object
- Author:
- Sebastian Zarnekow - Initial contribution and API, Sven Efftinge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuperTypeCollector
public SuperTypeCollector()
SuperTypeCollector
public SuperTypeCollector(TypesFactory factory)
newRef
protected JvmTypeReference newRef(JvmType type)
collectSuperTypes
public java.util.Set<JvmTypeReference> collectSuperTypes(JvmType type)
collectSuperTypes
public java.util.Set<JvmTypeReference> collectSuperTypes(JvmTypeReference type)
collectSuperTypes
public void collectSuperTypes(JvmTypeReference type,
SuperTypeCollector.SuperTypeAcceptor acceptor)
collectSuperTypeNames
public java.util.Set<java.lang.String> collectSuperTypeNames(JvmType type)
collectSuperTypesAsRawTypes
public java.util.Set<JvmType> collectSuperTypesAsRawTypes(JvmTypeReference type)
collectSuperTypeNames
public java.util.Set<java.lang.String> collectSuperTypeNames(JvmTypeReference type)
doCollectSupertypeData
public void doCollectSupertypeData(JvmTypeReference type,
SuperTypeCollector.SuperTypeAcceptor acceptor)
isSuperType
public boolean isSuperType(JvmDeclaredType subType,
JvmDeclaredType superType)