156Since the purpose of Article 277 TFEU is not to enable a party to contest the applicability of any act of general application in support of any action whatsoever, the scope of a plea of illegality must be limited to what is necessary for the outcome of the proceedings. It follows that the general measure claimed to be illegal must be applicable, directly or indirectly, to the issue with which the action is concerned and there must be a direct legal connection between the contested individual decision and the general measure in question. In that regard, the existence of such a link may be inferred, inter alia, from the finding that the measure against which the main action has been brought is essentially based on a provision of a measure whose legality is contested (see judgment of 27 October 2016, ECB v Cerafogli, T‑787/14 P, EU:T:2016:633, paragraph 44 and the case-law cited).