org.eclipse.xtext.xbase.scoping.featurecalls
Class AbstractStaticMethodsFeatureForTypeProvider
java.lang.Object
org.eclipse.xtext.xbase.scoping.featurecalls.AbstractFeaturesForTypeProvider
org.eclipse.xtext.xbase.scoping.featurecalls.AbstractStaticMethodsFeatureForTypeProvider
- All Implemented Interfaces:
- IFeaturesForTypeProvider
- Direct Known Subclasses:
- StaticallyImportedFeaturesProvider, StaticImplicitMethodsFeatureForTypeProvider
public abstract class AbstractStaticMethodsFeatureForTypeProvider
- extends AbstractFeaturesForTypeProvider
- Author:
- Sven Efftinge - Initial contribution and API, Sebastian Zarnekow
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
cache
@Inject
protected IResourceScopeCache cache
context
protected org.eclipse.emf.ecore.resource.Resource context
AbstractStaticMethodsFeatureForTypeProvider
public AbstractStaticMethodsFeatureForTypeProvider()
getFeaturesByName
public java.lang.Iterable<JvmFeature> getFeaturesByName(java.lang.String name,
JvmTypeReference declarator,
java.lang.Iterable<JvmTypeReference> hierarchy)
getAllFeatures
public final java.lang.Iterable<JvmFeature> getAllFeatures(JvmTypeReference declarator,
java.lang.Iterable<JvmTypeReference> hierarchy)
collectFeatures
protected void collectFeatures(java.lang.String name,
java.lang.Iterable<JvmTypeReference> hierarchy,
java.util.Collection<JvmFeature> result)
isMatchingExtension
protected boolean isMatchingExtension(JvmTypeReference expectedParameterTypeReference,
JvmOperation operation)
getVisibleJvmTypesContainingStaticMethods
protected java.util.Map<JvmTypeReference,java.util.Collection<JvmTypeReference>> getVisibleJvmTypesContainingStaticMethods(java.lang.Iterable<JvmTypeReference> hierarchy)
getVisibleTypesContainingStaticMethods
protected abstract java.util.Map<JvmTypeReference,java.util.Collection<java.lang.String>> getVisibleTypesContainingStaticMethods(java.lang.Iterable<JvmTypeReference> hierarchy)
setResourceContext
public void setResourceContext(org.eclipse.emf.ecore.resource.Resource context)
getContext
protected org.eclipse.emf.ecore.resource.Resource getContext()
isExtensionProvider
public boolean isExtensionProvider()
setExtensionProvider
public void setExtensionProvider(boolean isExtensionProvider)
toString
public java.lang.String toString()
- Specified by:
toString
in interface IFeaturesForTypeProvider
- Overrides:
toString
in class AbstractFeaturesForTypeProvider
getContextURI
protected java.lang.String getContextURI()