We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f6ea05 commit 6116b30Copy full SHA for 6116b30
Moose-Blueprint-Models/Class.extension.st
@@ -9,12 +9,18 @@ Class >> blueprint [
9
{ #category : '*Moose-Blueprint-Models' }
10
Class >> blueprintView [
11
12
- | model |
+ | model importer |
13
+ model := FamixStModel new.
14
+ model name: 'tempModelFor' , self name.
15
- model := MooseScripts
- createModelNamed: 'tempModel'
16
- with: { self package name asString }.
+ importer := FamixStPharoImporterTask new.
17
+ importer importingContext mergeClassAndMetaclass.
18
- ^ (model allModelClasses detect: [ :each | each name = self name ])
19
+ importer
20
+ model: model;
21
+ addFromPackage: self package;
22
+ runWithProgress.
23
+
24
+ ^ (model allModelClasses detect: [ :cls | cls name = self name ])
25
blueprint
26
]
0 commit comments