org.eclipse.xtend.core.jvmmodel
Class IXtendJvmAssociations.Impl

java.lang.Object
  extended by org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator
      extended by org.eclipse.xtend.core.jvmmodel.IXtendJvmAssociations.Impl
All Implemented Interfaces:
IXtendJvmAssociations, IDerivedStateComputer, IJvmModelAssociations, IJvmModelAssociator, ILogicalContainerProvider
Enclosing interface:
IXtendJvmAssociations

public static class IXtendJvmAssociations.Impl
extends JvmModelAssociator
implements IXtendJvmAssociations


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator
JvmModelAssociator.Adapter, JvmModelAssociator.JvmDeclaredTypeAcceptor
 
Nested classes/interfaces inherited from interface org.eclipse.xtend.core.jvmmodel.IXtendJvmAssociations
IXtendJvmAssociations.Impl
 
Constructor Summary
IXtendJvmAssociations.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)
           
 JvmConstructor getInferredConstructor(XtendConstructor xtendConstructor)
           
 JvmGenericType getInferredType(XtendClass xtendClass)
           
 JvmField getJvmField(XtendField field)
           
 XtendClass getXtendClass(JvmGenericType jvmType)
           
 XtendConstructor getXtendConstructor(JvmConstructor jvmConstructor)
           
 XtendFunction getXtendFunction(JvmOperation jvmOperation)
           
 
Methods inherited from class org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator
associate, associateLogicalContainer, associatePrimary, cleanAssociationState, discardDerivedState, getAssociatedExpression, getJvmElements, getLogicalContainer, getLogicalContainerMapping, getNearestLogicalContainer, getOrInstall, getPrimarySourceElement, getResource, getSourceElements, installDerivedState, removeLogicalChildAssociation, setCompleter, setInferrer, sourceToTargetMap
 
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
getJvmElements, getPrimarySourceElement, getSourceElements
 

Constructor Detail

IXtendJvmAssociations.Impl

public IXtendJvmAssociations.Impl()
Method Detail

getInferredType

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

getInferredConstructor

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

getInferredConstructor

public JvmConstructor getInferredConstructor(XtendConstructor xtendConstructor)
Specified by:
getInferredConstructor in interface IXtendJvmAssociations

getDirectlyInferredOperation

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

getDispatchOperation

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

getXtendClass

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

getXtendFunction

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

getXtendConstructor

public XtendConstructor getXtendConstructor(JvmConstructor jvmConstructor)
Specified by:
getXtendConstructor in interface IXtendJvmAssociations

getFirstOrNull

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

getJvmField

public JvmField getJvmField(XtendField field)
Specified by:
getJvmField in interface IXtendJvmAssociations