Skip to content

Commit 5a8032e

Browse files
committed
Sync with Java
1 parent 2c46310 commit 5a8032e

File tree

2 files changed

+5
-18
lines changed

2 files changed

+5
-18
lines changed

src/Famix-TypeScript-Extensions/FamixTypeScriptParametricMethod.extension.st

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/Famix-TypeScript-Generator/FamixTypeScriptGenerator.class.st

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,14 +255,14 @@ FamixTypeScriptGenerator >> defineHierarchy [
255255

256256
"this level of hierarchy to follow Java's metamodel, to accommodate Interfac properly TODO"
257257
containerEntity --|> namedEntity.
258-
containerEntity --|> #TWithClasses.
259258
containerEntity --|> tWithInterfaces.
259+
containerEntity --|> #TWithClasses.
260260
containerEntity --|> #TWithFunctions.
261-
containerEntity --|> #TWithAnnotationTypes.
261+
"containerEntity --|> #TWithAnnotationTypes."
262262
containerEntity --|> #TWithLocalVariables.
263263
"containerEntity --|> #TWithModules?"
264264

265-
decorator --|>namedEntity.
265+
decorator --|> namedEntity.
266266
decorator --|> #TImportable.
267267

268268
enum --|> type.
@@ -332,6 +332,7 @@ FamixTypeScriptGenerator >> defineHierarchy [
332332
method --|> #THasVisibility.
333333
method --|> #TWithComments.
334334
method --|> #TCanBeClassSide.
335+
method --|> #TImportable.
335336

336337
parametricMethod --|> method.
337338
parametricMethod --|> #TParametricEntity.
@@ -357,6 +358,7 @@ FamixTypeScriptGenerator >> defineHierarchy [
357358

358359
parameterType --|> type.
359360
parameterType --|> #TGenericParameterType.
361+
parameterType --|> #TTypedEntity.
360362

361363
parametricClass --|> class.
362364
"parameterizableClass --|> #TWithParameterizedTypes."

0 commit comments

Comments
 (0)