1. An apparatus for executing object-oriented code, said apparatus comprising: a computer with: a runtime, executed by a processor, including: an automated producer graph generation module to receive a designation of a producer of interest, to instantiate the producer of interest if not yet instantiated, to add the producer of interest as part of a producer graph, and to automatically generate a remainder of the producer graph through iteratively parsing producer dependency declarations for the added producers to identify other producers that need to be added, instantiating any of the other producers that are not already instantiated, and adding them to the producer graph, wherein each of the producers is a runtime construct that identifies a respective combination of a particular instance of a class and one particular method of that class, wherein there is one of the producer dependency declarations for each of the methods identified by the producers to identify at run time execution relationships between the producers, and a producer graph execution module to execute the producers in the producer graph in an order indicated by the producer graph, wherein execution of each of the producers in the producer graph results in the one particular method identified by that respective producer being executed on the particular instance identified by that producer.