2. A method as recited in claim 1 , wherein if the first class type cannot be used by the runtime representation of the second class type, the method further comprises: generating from the second class file a second loader dependent part of the runtime representation of the second class type and a second loader independent part of the runtime representation of the second class type.
10. A method as recited in claim 2 , wherein generating the second loader dependent part of the runtime representation of the second class type using the loader independent part of the runtime representation of the first class type includes, obtaining a template of a first loader dependent runtime representation from the first loader independent part of the runtime representation of the first class type; replicating the template of the first loader dependent runtime representation to produce the second loader dependent runtime representation; resetting a value of the second loader dependent runtime representation to an initial state; and setting a reference to the second loader independent part of the runtime representation in the second loader dependent runtime representation.