org.eclipse.xtext.xbase.scoping.featurecalls
Class AbstractFeaturesForTypeProvider
java.lang.Object
org.eclipse.xtext.xbase.scoping.featurecalls.AbstractFeaturesForTypeProvider
- All Implemented Interfaces:
- IFeaturesForTypeProvider
- Direct Known Subclasses:
- AbstractStaticMethodsFeatureForTypeProvider, DefaultFeaturesForTypeProvider, ExtensionMethodsFeaturesProvider, XConstructorProvider
public abstract class AbstractFeaturesForTypeProvider
- extends java.lang.Object
- implements IFeaturesForTypeProvider
- Author:
- Sven Efftinge - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractFeaturesForTypeProvider
public AbstractFeaturesForTypeProvider()
isSameTypeOrAssignableToUpperBound
protected boolean isSameTypeOrAssignableToUpperBound(JvmTypeReference first,
JvmTypeReference second)
- Returns
true
if the the first reference points to the same rawtype as the second
reference's erasure. In other words, the method returns true
for the following cases:
isSameTypeOrAssignableToUpperBound(String, String)
isSameTypeOrAssignableToUpperBound(String, T extends String)
and false
for
isSameTypeOrAssignableToUpperBound(CharSequence, String)
isSameTypeOrAssignableToUpperBound(Object, String)
getTypeConformanceComputer
protected TypeConformanceComputer getTypeConformanceComputer()
getTypeReferences
protected TypeReferences getTypeReferences()
getRawTypeHelper
protected IRawTypeHelper getRawTypeHelper()
toString
public java.lang.String toString()
- Specified by:
toString
in interface IFeaturesForTypeProvider
- Overrides:
toString
in class java.lang.Object