Skip to content

Commit

Permalink
adding better description of the UML figure
Browse files Browse the repository at this point in the history
  • Loading branch information
anquetil committed May 23, 2024
1 parent 898fa4b commit 0e87891
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moose-wiki/Developers/predefinedEntities.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0e87891

Please sign in to comment.