org.eclipse.xtext.xbase.resource
Class LinkingAssumptions
java.lang.Object
org.eclipse.xtext.xbase.resource.LinkingAssumptions
public class LinkingAssumptions
- extends java.lang.Object
- Author:
- Sebastian Zarnekow - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkingAssumptions
public LinkingAssumptions()
trackAssumptions
public LinkingAssumptions.Tracker trackAssumptions(org.eclipse.emf.ecore.resource.Resource resource)
createAssumption
public LinkingAssumptions.Assumption createAssumption(JvmIdentifiableElement proxy,
JvmIdentifiableElement candidate,
XAbstractFeatureCall featureCall,
XExpression implicitReceiver,
XExpression implicitFirstArgumentReceiver)
createAssumption
public LinkingAssumptions.Assumption createAssumption(JvmIdentifiableElement proxy,
JvmIdentifiableElement candidate)
assumeLinkedAndRun
public <T> T assumeLinkedAndRun(org.eclipse.emf.ecore.resource.Resource resource,
LinkingAssumptions.Assumption assumption,
com.google.inject.Provider<T> strategy)
getImplicitReceiver
public XExpression getImplicitReceiver(XAbstractFeatureCall featureCall)
getImplicitFirstArgument
public XExpression getImplicitFirstArgument(XAbstractFeatureCall featureCall)
getFeature
public JvmIdentifiableElement getFeature(XAbstractFeatureCall featureCall,
boolean resolve)
getConstructor
public JvmConstructor getConstructor(XConstructorCall constructorCall,
boolean resolve)