Skip to content

Commit

Permalink
added link to generics meta-model post
Browse files Browse the repository at this point in the history
  • Loading branch information
anquetil committed May 23, 2024
1 parent 382b551 commit 0f0dd29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions moose-wiki/Developers/predefinedEntities.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,8 @@ TAccessible "variable" -- "incomingAccesses*" TAccess

## Genericity

(note: the same meta-model is also described in this [blog post](https://modularmoose.org/posts/2023-07-13-parametric)).

Genericity in OO languages allows to define a class or method which will apply to several not specified types.
For example in Java a Map associates keys of an unspecified type to values of another unspecified type.
Map is a generic class, (also called parametric class, this is the term we use in Famix).
Expand Down

0 comments on commit 0f0dd29

Please sign in to comment.