Interface IExpectedTypesComputer

    • Method Detail

      • getExpectedType

        TypeDescriptionSource getExpectedType​(org.eclipse.emf.ecore.EObject expression,
                                              org.eclipse.emf.ecore.EStructuralFeature feature,
                                              int featureIndex)
        Gets expected type for feature of expression
        Parameters:
        expression - expression, can't be null
        feature - feature of the expression, can be null
        featureIndex - index of feature
        Returns:
        expected type for feature of expression, empty TypeDescription corresponding to anything type
        See Also:
        ITypeSystem