org.eclipse.xtend.core.scoping
Class StaticallyImportedFeaturesProvider

java.lang.Object
  extended by org.eclipse.xtext.xbase.scoping.featurecalls.AbstractFeaturesForTypeProvider
      extended by org.eclipse.xtext.xbase.scoping.featurecalls.AbstractStaticMethodsFeatureForTypeProvider
          extended by org.eclipse.xtend.core.scoping.StaticallyImportedFeaturesProvider
All Implemented Interfaces:
IFeaturesForTypeProvider

public class StaticallyImportedFeaturesProvider
extends AbstractStaticMethodsFeatureForTypeProvider

Author:
Sebastian Zarnekow - Initial contribution and API

Field Summary
 
Fields inherited from class org.eclipse.xtext.xbase.scoping.featurecalls.AbstractStaticMethodsFeatureForTypeProvider
cache, context
 
Constructor Summary
StaticallyImportedFeaturesProvider()
           
 
Method Summary
protected  void collectFeatures(java.lang.String name, java.lang.Iterable<JvmTypeReference> hierarchy, java.util.Collection<JvmFeature> result)
           
protected  java.util.List<XtendImport> getImports()
           
protected  java.util.Map<JvmTypeReference,java.util.Collection<java.lang.String>> getVisibleTypesContainingStaticMethods(java.lang.Iterable<JvmTypeReference> hierarchy)
           
 
Methods inherited from class org.eclipse.xtext.xbase.scoping.featurecalls.AbstractStaticMethodsFeatureForTypeProvider
getAllFeatures, getContext, getContextURI, getFeaturesByName, getVisibleJvmTypesContainingStaticMethods, isExtensionProvider, isMatchingExtension, setExtensionProvider, setResourceContext, toString
 
Methods inherited from class org.eclipse.xtext.xbase.scoping.featurecalls.AbstractFeaturesForTypeProvider
getRawTypeHelper, getTypeConformanceComputer, getTypeReferences, isSameTypeOrAssignableToUpperBound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StaticallyImportedFeaturesProvider

public StaticallyImportedFeaturesProvider()
Method Detail

getVisibleTypesContainingStaticMethods

protected java.util.Map<JvmTypeReference,java.util.Collection<java.lang.String>> getVisibleTypesContainingStaticMethods(java.lang.Iterable<JvmTypeReference> hierarchy)
Specified by:
getVisibleTypesContainingStaticMethods in class AbstractStaticMethodsFeatureForTypeProvider

collectFeatures

protected void collectFeatures(java.lang.String name,
                               java.lang.Iterable<JvmTypeReference> hierarchy,
                               java.util.Collection<JvmFeature> result)
Overrides:
collectFeatures in class AbstractStaticMethodsFeatureForTypeProvider

getImports

protected java.util.List<XtendImport> getImports()