SAP Message SMT007 - Method &1 is not declared "public"

SMT007 : Method &1 is not declared "public"