org.eclipse.xtext.xtend2.jvmmodel
Class IXtend2JvmAssociations.Impl

java.lang.Object
  extended by org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator
      extended by org.eclipse.xtext.xtend2.jvmmodel.IXtend2JvmAssociations.Impl
All Implemented Interfaces:
IJvmModelAssociations, IJvmModelAssociator, IXtend2JvmAssociations
Enclosing interface:
IXtend2JvmAssociations

public static class IXtend2JvmAssociations.Impl
extends JvmModelAssociator
implements IXtend2JvmAssociations


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator
JvmModelAssociator.AbstractAssociationAdapter, JvmModelAssociator.JvmAssociationAdapter, JvmModelAssociator.SourceAssociationAdapter
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.xtend2.jvmmodel.IXtend2JvmAssociations
IXtend2JvmAssociations.Impl
 
Constructor Summary
IXtend2JvmAssociations.Impl()
           
 
Method Summary
 JvmOperation getDirectlyInferredOperation(XtendFunction xtendFunction)
           
 JvmOperation getDispatchOperation(XtendFunction dispatchFunction)
           
protected
<T> T
getFirstOrNull(java.lang.Iterable<org.eclipse.emf.ecore.EObject> elements, java.lang.Class<T> type)
           
 JvmConstructor getInferredConstructor(XtendClass xtendClass)
           
 JvmGenericType getInferredType(XtendClass xtendClass)
           
 XtendClass getXtendClass(JvmGenericType jvmType)
           
 XtendFunction getXtendFunction(JvmOperation jvmOperation)
           
 
Methods inherited from class org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator
associate, associate, associatePrimary, checkAdapter, disassociate, getAssociatedElements, getAssociatedElements, getAssociationAdapter, getJvmAdapter, getJvmElements, getPrimarySourceElement, getSourceAdapter, getSourceElements, setJvmAdapter, setSourceAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.xtext.xbase.jvmmodel.IJvmModelAssociations
getAssociatedElements, getJvmElements, getPrimarySourceElement, getSourceElements
 

Constructor Detail

IXtend2JvmAssociations.Impl

public IXtend2JvmAssociations.Impl()
Method Detail

getInferredType

public JvmGenericType getInferredType(XtendClass xtendClass)
Specified by:
getInferredType in interface IXtend2JvmAssociations

getInferredConstructor

public JvmConstructor getInferredConstructor(XtendClass xtendClass)
Specified by:
getInferredConstructor in interface IXtend2JvmAssociations

getDirectlyInferredOperation

public JvmOperation getDirectlyInferredOperation(XtendFunction xtendFunction)
Specified by:
getDirectlyInferredOperation in interface IXtend2JvmAssociations

getDispatchOperation

public JvmOperation getDispatchOperation(XtendFunction dispatchFunction)
Specified by:
getDispatchOperation in interface IXtend2JvmAssociations

getXtendClass

public XtendClass getXtendClass(JvmGenericType jvmType)
Specified by:
getXtendClass in interface IXtend2JvmAssociations

getXtendFunction

public XtendFunction getXtendFunction(JvmOperation jvmOperation)
Specified by:
getXtendFunction in interface IXtend2JvmAssociations

getFirstOrNull

protected <T> T getFirstOrNull(java.lang.Iterable<org.eclipse.emf.ecore.EObject> elements,
                               java.lang.Class<T> type)