org.eclipse.xtext.xbase.scoping.featurecalls
Class XConstructorProvider
java.lang.Object
org.eclipse.xtext.xbase.scoping.featurecalls.AbstractFeaturesForTypeProvider
org.eclipse.xtext.xbase.scoping.featurecalls.XConstructorProvider
- All Implemented Interfaces:
- IFeaturesForTypeProvider
public class XConstructorProvider
- extends AbstractFeaturesForTypeProvider
- Author:
- Sebastian Zarnekow - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XConstructorProvider
public XConstructorProvider()
isExtensionProvider
public boolean isExtensionProvider()
getFeaturesByName
public java.lang.Iterable<JvmFeature> getFeaturesByName(java.lang.String name,
JvmTypeReference declarator,
java.lang.Iterable<JvmTypeReference> hierarchy)
getAllFeatures
public java.lang.Iterable<JvmFeature> getAllFeatures(JvmTypeReference declarator,
java.lang.Iterable<JvmTypeReference> hierarchy)
doGetFeatures
public java.lang.Iterable<JvmFeature> doGetFeatures(java.lang.String name,
JvmTypeReference declarator,
java.lang.Iterable<JvmTypeReference> hierarchy)
- Parameters:
name
- the name of the requested feature. May be null
.declarator
- the feature declarator. Never null
.hierarchy
- the type hierarchy of declarator
. May be explored by custom implementations for whatever purpose.
- Returns:
- the matching features. Never
null
.
collectConstructors
protected void collectConstructors(JvmDeclaredType rawType,
java.util.List<JvmFeature> result)