Skip to content

Commit a4df46a

Browse files
author
David Baum
committed
extend famixpath metadata
1 parent f018a61 commit a4df46a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

generator/org.svis.generator/src/org/svis/generator/hismo/m2t/Hismo2JSON.xtend

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,12 @@ class Hismo2JSON implements IGenerator2 {
146146
"type": "path",
147147
"start": "«path.start.ref.id»",
148148
"end": "«path.end.ref.id»",
149-
"role": "«path.role.checkNull»"
149+
"role": "«path.role.checkNull»",
150+
«IF path.antipattern !== null»
151+
"belongsTo": "«path.antipattern.ref.id.checkNull»"
152+
«ELSE»
153+
"belongsTo": ""
154+
«ENDIF»
150155
'''
151156
152157
def dispatch private toMetaData(FAMIXAntipattern antipattern) '''

0 commit comments

Comments
 (0)