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! -- Andre Hora _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
> 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 [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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 > [hidden email] > 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 [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Ok! I opened the ticket.
Thanks Alexandre and Doru. On Sat, Jan 15, 2011 at 12:27 AM, Tudor Girba <[hidden email]> wrote: Hi Andre, -- Andre Hora _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |