I have a method that accepts a MyObject interface as a parameter. In this method, I want to create an object of the same runtime implementation class. Like this