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

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

public abstract class AbstractStaticMethodsFeatureForTypeProvider
extends AbstractFeaturesForTypeProvider

Author:
Sven Efftinge - Initial contribution and API, Sebastian Zarnekow

Constructor Summary
AbstractStaticMethodsFeatureForTypeProvider()
           
 
Method Summary
protected  XbaseTypeConformanceComputer getConformanceComputer()
           
protected  org.eclipse.emf.ecore.resource.Resource getContext()
           
 java.lang.Iterable<? extends JvmFeature> getFeaturesForType(JvmTypeReference reference)
          provides the features for a given type
protected  TypeReferences getTypeRefs()
           
protected abstract  java.lang.Iterable<java.lang.String> getVisibleTypesContainingStaticMethods(JvmTypeReference reference)
           
 boolean isExtensionProvider()
           
protected  boolean isMatchingExtension(JvmTypeReference expectedParameterTypeReference, JvmOperation operation)
           
 void setContext(org.eclipse.emf.ecore.resource.Resource context)
           
 void setExtensionProvider(boolean isExtensionProvider)
           
 
Methods inherited from class org.eclipse.xtext.xbase.scoping.featurecalls.AbstractFeaturesForTypeProvider
isSameTypeOrAssignableToUpperBound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractStaticMethodsFeatureForTypeProvider

public AbstractStaticMethodsFeatureForTypeProvider()
Method Detail

getFeaturesForType

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


isMatchingExtension

protected boolean isMatchingExtension(JvmTypeReference expectedParameterTypeReference,
                                      JvmOperation operation)

getVisibleTypesContainingStaticMethods

protected abstract java.lang.Iterable<java.lang.String> getVisibleTypesContainingStaticMethods(JvmTypeReference reference)

setContext

public void setContext(org.eclipse.emf.ecore.resource.Resource context)

getContext

protected org.eclipse.emf.ecore.resource.Resource getContext()

getConformanceComputer

protected XbaseTypeConformanceComputer getConformanceComputer()

getTypeRefs

protected TypeReferences getTypeRefs()

isExtensionProvider

public boolean isExtensionProvider()

setExtensionProvider

public void setExtensionProvider(boolean isExtensionProvider)