1. A method, in a data processing system, for instantiating an abstract class, comprising: providing mapping metadata for mapping an abstract class to a corresponding concrete class implementing the abstract class; encountering an instantiation statement for the abstract class during processing of application code, wherein the instantiation statement does not specify a concrete class implementing the abstract class; and converting the instantiation statement to specify the concrete class implementing the abstract class based on the mapping metadata.