org.eclipse.xtext.xtend2.jvmmodel
Class IXtend2JvmAssociations.Impl
java.lang.Object
org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator
org.eclipse.xtext.xtend2.jvmmodel.IXtend2JvmAssociations.Impl
- All Implemented Interfaces:
- IDerivedStateComputer, IJvmModelAssociations, IJvmModelAssociator, ILogicalContainerProvider, IXtend2JvmAssociations
- Enclosing interface:
- IXtend2JvmAssociations
public static class IXtend2JvmAssociations.Impl
- extends JvmModelAssociator
- implements IXtend2JvmAssociations
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, sourceToTargetMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IXtend2JvmAssociations.Impl
public IXtend2JvmAssociations.Impl()
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)
getJvmField
public JvmField getJvmField(XtendField field)
- Specified by:
getJvmField
in interface IXtend2JvmAssociations