Comment #10 on issue 495 by tudor.gi...(a)gmail.com: Parametrized Types -
Generics
http://code.google.com/p/moose-technology/issues/detail?id=495
Not quite.
There should be only 4 FAMIXSpecificParameterizedType.
"attribute1" will have one such FAMIXParameterizedType, in which:
- baseType ->Map
- parameterTypes -> Collection with the first element pointing to String,
and the second one pointing to String
This is specific because the argument types point to a certain class.
"Class1" will be indeed a FAMIXParameterizedClass, in which:
- typeArguments -> collection with symbols
Regarding names, I think I like these ones the best:
- FAMIXParameterizableClass (although the parameterizable word does not
exist in English, it does appear in code)
- FAMIXParameterizedType