public List<Action> matchActions(ElementPath elementPath) {
    List<Action> actionList;

    if ((actionList = fullPathMatch(elementPath)) != null) {
      return actionList;
    } else if ((actionList = suffixMatch(elementPath)) != null) {
      return actionList;
    } else if ((actionList = prefixMatch(elementPath)) != null) {
      return actionList;
    } else if ((actionList = middleMatch(elementPath)) != null) {
      return actionList;
    } else {
      return null;
    }
  }
public List < Action > matchActions ( ElementPath elementPath ) { List < Action > actionList ; if ( ( actionList = fullPathMatch ( elementPath ) ) != null ) { return actionList ; } else if ( ( actionList = suffixMatch ( elementPath ) ) != null ) { return actionList ; } else if ( ( actionList = prefixMatch ( elementPath ) ) != null ) { return actionList ; } else if ( ( actionList = middleMatch ( elementPath ) ) != null ) { return actionList ; } else { return null ; } }
match for x/y/* has higher priority than matches for x/*