Comment #9 on issue 495 by andreho...@gmail.com: Parametrized Types - Generics http://code.google.com/p/moose-technology/issues/detail?id=495
Yes. First of all I need to change (a lot :), I guess) VerveineJ to export these information, and then, change the Moose meta-model.
BTW, I have some questions. In the code below:
public class Class1<A,B,C> {
public Map<String,String> attribute1; public String attribute2;
public Map<String,String> method1(Map<String,String> parameter1) { Collection<String> localVariable1; ... } ... }
"Class1" is a FAMIXParameterizedClass with parameterTypes property A, B and C.
The total of FAMIXSpecificParameterizedType is 7 (one for each argument, as you said "for the actual specific types specified as types of arguments")?
"attribute1" contains two FAMIXSpecificParameterizedType stored in its (FAMIXStructuralEntity) declaredArgumentTypes property (which should be a <derived> property, the same to others declaredArgumentTypes properties). That's it?
So, which should be the fully qualified name of these FAMIXSpecificParameterizedType? I ask this because, for example, they are not the same String type of "attribute2" (which is a "normal" FAMIXType).
Moreover, which new properties will FAMIXSpecificParameterizedType contains? I see two: - Type: link FAMIXSpecificParameterizedType to its "real" type (the FAMIXType String, in the example) - Position: its position in the list of argument. What do you think?