From 0e87891daaad7a078ebad4cf06d30d5e3f9d2b0d Mon Sep 17 00:00:00 2001 From: anquetil Date: Thu, 23 May 2024 17:27:05 +0200 Subject: [PATCH] adding better description of the UML figure --- moose-wiki/Developers/predefinedEntities.md | 1 + 1 file changed, 1 insertion(+) diff --git a/moose-wiki/Developers/predefinedEntities.md b/moose-wiki/Developers/predefinedEntities.md index 58d880f..efcc318 100644 --- a/moose-wiki/Developers/predefinedEntities.md +++ b/moose-wiki/Developers/predefinedEntities.md @@ -367,6 +367,7 @@ Methods can also be GenericEntities when the type of one parameter, or the retur For example in Java, the get(key) method is generic because the type of the key is K, a ParameterType and it returns a value of type V, another ParameterType: `public V get(K key)'. In Famix the meta-model for genericity is the following: + ![UML for generics meta-model](Diagrams/generics.svg) - a `TParametricEntity` represents an entity that has `TGenericParameterType`s (like Map having parameter types K and V in the example above);