Fix a potential ClassCastException (AnyType is not a subclass of Eclass) so multiple templates with OclAny as the type of one of their parameter would create a problem.