Considering that associations represent dependencies, what is the source and target of FamixTConcretization?
ex: List<String> variable;
Reminder:
- Between a typedEntity (eg.
variable) and its type (List<String>) there is a FamixTEntityTyping association
- If the type is Parametric (
List) it is a FamixTParametricAssociation (between variable and java.util.List)
- This FamixTParametricAssociation has an extra information: the FamixTConcretizations of the ParameterTypes (
E of java.util.List<E>)
- These FamixTConcretizations are also associations: between a typeArgument (
String) and a typeParameter (E)
so back to the initial question: what source and target for these FamixTConcretization ?
The target seems obvious: the typeArgument (String) because there is a dependency to it.
I propose that the source is the typed entity (variable) which is a bit strange because the source for FamixTConcretization would not be in this association but in its parent association.
This is strange, but from a dependency point of view, it makes sense...
Considering that associations represent dependencies, what is the source and target of FamixTConcretization?
ex:
List<String> variable;Reminder:
variable) and its type (List<String>) there is a FamixTEntityTyping associationList) it is a FamixTParametricAssociation (betweenvariableandjava.util.List)Eofjava.util.List<E>)String) and a typeParameter (E)so back to the initial question: what source and target for these FamixTConcretization ?
The target seems obvious: the typeArgument (
String) because there is a dependency to it.I propose that the source is the typed entity (
variable) which is a bit strange because the source for FamixTConcretization would not be in this association but in its parent association.This is strange, but from a dependency point of view, it makes sense...