The present invention relates to a method, system and computer program product
for generating a metamodel representing a desired modeling environment. The 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.