Class JavaLikeMatchingStrategy

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean matches​(Call call, int pos, Parameter formal, Expression actual, java.util.Set<Type> types)
      Yields true if and only if the signature of the pos-th parameter of a cfg is matched by the given actual parameter, according to this strategy.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • matches

        public boolean matches​(Call call,
                               int pos,
                               Parameter formal,
                               Expression actual,
                               java.util.Set<Type> types)
        Description copied from class: FixedOrderMatchingStrategy
        Yields true if and only if the signature of the pos-th parameter of a cfg is matched by the given actual parameter, according to this strategy.
        Specified by:
        matches in class FixedOrderMatchingStrategy
        Parameters:
        call - the call where the parameters are being matched
        pos - the position of the parameter being evaluated
        formal - the parameter definition of the cfg
        actual - the expression that is used as parameter
        types - the runtime types of the actual parameter
        Returns:
        true if and only if that condition holds