org.eclipse.xtext.xtend2.scoping
Class InjectedExtensionMethodsFeaturesProvider

java.lang.Object
  extended by org.eclipse.xtext.xtend2.scoping.InjectedExtensionMethodsFeaturesProvider
All Implemented Interfaces:
IFeaturesForTypeProvider

public class InjectedExtensionMethodsFeaturesProvider
extends java.lang.Object
implements IFeaturesForTypeProvider

Author:
Sven Efftinge - Initial contribution and API

Constructor Summary
InjectedExtensionMethodsFeaturesProvider()
           
 
Method Summary
 java.lang.Iterable<? extends JvmFeature> getFeaturesForType(JvmTypeReference type)
          provides the features for a given type
protected  boolean isCompatibleType(JvmTypeReference type, JvmTypeReference declaration)
           
 boolean isExtensionProvider()
           
 void setContext(XtendField XtendField)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InjectedExtensionMethodsFeaturesProvider

public InjectedExtensionMethodsFeaturesProvider()
Method Detail

setContext

public void setContext(XtendField XtendField)

getFeaturesForType

public java.lang.Iterable<? extends JvmFeature> getFeaturesForType(JvmTypeReference type)
Description copied from interface: IFeaturesForTypeProvider
provides the features for a given type

Specified by:
getFeaturesForType in interface IFeaturesForTypeProvider

isCompatibleType

protected boolean isCompatibleType(JvmTypeReference type,
                                   JvmTypeReference declaration)

isExtensionProvider

public boolean isExtensionProvider()
Specified by:
isExtensionProvider in interface IFeaturesForTypeProvider