org.eclipse.xtext.xbase.scoping.featurecalls
Class AbstractFeaturesForTypeProvider

java.lang.Object
  extended by org.eclipse.xtext.xbase.scoping.featurecalls.AbstractFeaturesForTypeProvider
All Implemented Interfaces:
IFeaturesForTypeProvider
Direct Known Subclasses:
AbstractStaticMethodsFeatureForTypeProvider, ExtensionMethodsFeaturesProvider

public abstract class AbstractFeaturesForTypeProvider
extends java.lang.Object
implements IFeaturesForTypeProvider

Author:
Sven Efftinge - Initial contribution and API

Constructor Summary
AbstractFeaturesForTypeProvider()
           
 
Method Summary
protected  boolean isSameTypeOrAssignableToUpperBound(JvmTypeReference first, JvmTypeReference second)
          Whether both JvmTypeReferences point to the same rawtyp or the second points to a type parameter where the its upperBound is the same or a supertype of the first argument's raw type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.xtext.xbase.scoping.featurecalls.IFeaturesForTypeProvider
getFeaturesForType, isExtensionProvider
 

Constructor Detail

AbstractFeaturesForTypeProvider

public AbstractFeaturesForTypeProvider()
Method Detail

isSameTypeOrAssignableToUpperBound

protected boolean isSameTypeOrAssignableToUpperBound(JvmTypeReference first,
                                                     JvmTypeReference second)
Whether both JvmTypeReferences point to the same rawtyp or the second points to a type parameter where the its upperBound is the same or a supertype of the first argument's raw type.