Skip to content

Commit

Permalink
adding JavaParametricInterface to meta-model
Browse files Browse the repository at this point in the history
  • Loading branch information
anquetil committed May 23, 2024
1 parent 0f0dd29 commit 898fa4b
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 50 deletions.
208 changes: 159 additions & 49 deletions moose-wiki/Developers/Diagrams/generics.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion moose-wiki/Developers/predefinedEntities.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ In Famix the meta-model for genericity is the following:

- a `TParametricEntity` represents an entity that has `TGenericParameterType`s (like Map having parameter types K and V in the example above);
- the same `TParametricEntity` may also have `TConcreteParameterType`s (like String for StringMap above);
- in the case of Java, `TParametricEntity` is used by `JavaParametricMethod` and `JavaParametricClass`;
- in the case of Java, `TParametricEntity` is used by `JavaParametricMethod`, `JavaParametricClass` and `JavaParametricInterface`;
- a `TConcretization` is an association between two `TParametricEntity`s (like between Map and StringMap above);
- a `TParameterConcretization` is an association between a `TGenericParameterType` (like K above) and a `TConcreteParameterType` (like String above);
- a `TParameterConcretization` (association between ParameterTypes) is linked to a `TConcretization` (association between ParametricEntities);
Expand Down

0 comments on commit 898fa4b

Please sign in to comment.