2. The computer implemented method of claim 1 , further comprising the steps of: determining the name of a method in one or more first classes that have called a method within the implementing class; comparing said method name against a list of method names that have been granted access rights to said method in said implementing class; and, one of: executing said method of the implementing class upon determination that said calling method is a member of said list, or, preventing execution of said method upon determination that said calling method is not a member of the list.
1. A computer implemented method for granting one or more first object-oriented programming language classes access to a method of an implementing class that is created without granting unnecessary access to other methods within that implementing class, said method comprising the steps of: providing an array comprising a list of names of first classes that have been granted access rights to said method in said implementing class; providing a method in said implementing class for determining the name of a first class that has called a method within the implementing class, said method creating an exception object prior to accessing said method within the implementing class to perform a stack traceback to determine the name of the class that has called a method within the implementing first class; comparing said class name against said list of first classes that have been granted access rights to said method in said implementing class; and, one of: executing code of said method of the implementing class upon determination that said calling class is a member of said list, or, preventing execution of said code in said method upon determination that said calling class is not a member of the list.