1. A method for generating a metamodel representing a desired modeling environment, characterized in that said metamodel is generated on the basis of examples of target models, comprising: extracting information required to construct the metamodel, from said examples, and generating a metamodel structure that represents the class of models that all the examples collectively represent.