>> - Introduced a virtual association :
Instanciation that relates a
>> variable
>> (structuredEntity to its type and a method (behaviouralEntity) to
>> its
>> returnType. I created MooseChefInstanciationAssociation for this.
>> It is not
>> in Famix as it is only intended to do queries.
> I am not sure about introducing this entity.
I first tries to do a purely virtual association (i.e. having queryIncomingInstantiation
working directly with class>>structuresWithDeclaredType), but I couldn't find a
nice way to do it.
With a new class (it is not in Famix, so it is not an entity) it fits easily in the
existing MooseChef framework.
why do we need an association for the type of a
variable and the
returned type of a method?
we can explode memory with that?
It is not in Famix, it is used only for MooseChef queries.
These virtual associations are created temporarily for the life time of the query.
It allows MooseChef to access in a uniform way the dependency between a variable and its
type or a method and its returnType.
For Smalltalk it does not change much, but for Java, many dependencies between classes
remain hidden to MooseChef without something like this.
nicolas