org.eclipse.xtend.core.jvmmodel
Class IXtendJvmAssociations.Impl
java.lang.Object
org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator
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
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 |
IXtendJvmAssociations.Impl
public IXtendJvmAssociations.Impl()
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