Hello,
I would like to use Parametrized Types in Moose to deal with (Java) code like this: Map<B,NamedEntity>, where B and NamedEntity are arguments of Map. I didn't find anything in the meta-model that allows me to represent that structure. What is the best way to have this in the meta-model? Create a parametrizedTypes property in FAMIXClass?
Thanks!
I would like to use Parametrized Types in Moose to deal with (Java) code like this: Map<B,NamedEntity>, where B and NamedEntity are arguments of Map. I didn't find anything in the meta-model that allows me to represent that structure. What is the best way to have this in the meta-model? Create a parametrizedTypes property in FAMIXClass?
Maybe parameterTypes is a better name
Alexandre
Hi Andre,
That would be a great addition to the Famix-Java package. Please open a ticket first.
And indeed, parameterTypes is better.
Cheers, Doru
On 15 Jan 2011, at 00:17, Alexandre Bergel wrote:
I would like to use Parametrized Types in Moose to deal with (Java) code like this: Map<B,NamedEntity>, where B and NamedEntity are arguments of Map. I didn't find anything in the meta-model that allows me to represent that structure. What is the best way to have this in the meta-model? Create a parametrizedTypes property in FAMIXClass?
Maybe parameterTypes is a better name
Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"The coherence of a trip is given by the clearness of the goal."
Ok! I opened the ticket. Thanks Alexandre and Doru.
On Sat, Jan 15, 2011 at 12:27 AM, Tudor Girba tudor.girba@gmail.com wrote:
Hi Andre,
That would be a great addition to the Famix-Java package. Please open a ticket first.
And indeed, parameterTypes is better.
Cheers, Doru
On 15 Jan 2011, at 00:17, Alexandre Bergel wrote:
I would like to use Parametrized Types in Moose to deal with (Java) code
like this: Map<B,NamedEntity>, where B and NamedEntity are arguments of Map.
I didn't find anything in the meta-model that allows me to represent
that structure.
What is the best way to have this in the meta-model? Create a
parametrizedTypes property in FAMIXClass?
Maybe parameterTypes is a better name
Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"The coherence of a trip is given by the clearness of the goal."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev