1. A computerized method for providing a computer code an access to a restricted resource of a computer program, comprising: modifying an at least one duplicate of an at least one declaration file of the computer program by removing a restriction definition of an at least one resource of the computer program that is referred to by the computer code, thereby generating an at least one modified declaration file; and building a computer application comprising the computer code and also the computer program as being dependent on the at least one modified declaration file, thereby providing an access to the at least one resource originally defined as restricted, wherein the computerized method is performable on a computerized apparatus configured to carry out the computerized method.