diff --git a/src/Famix-BasicInfrastructure/FamixBasicInfrastructureGenerator.class.st b/src/Famix-BasicInfrastructure/FamixBasicInfrastructureGenerator.class.st index 7e3a69ae..9da732b5 100644 --- a/src/Famix-BasicInfrastructure/FamixBasicInfrastructureGenerator.class.st +++ b/src/Famix-BasicInfrastructure/FamixBasicInfrastructureGenerator.class.st @@ -8,8 +8,7 @@ Class { '#sourcedEntity', '#comment', '#namedEntity', - '#sourceTextAnchor', - '#unknownSourceLanguage' + '#sourceTextAnchor' ], #category : #'Famix-BasicInfrastructure' } @@ -30,7 +29,6 @@ FamixBasicInfrastructureGenerator >> defineClasses [ sourceAnchor := builder newAbstractClassNamed: #SourceAnchor. sourceLanguage := builder newClassNamed: #SourceLanguage. - unknownSourceLanguage := builder newClassNamed: #UnknownSourceLanguage. sourcedEntity := builder newAbstractClassNamed: #SourcedEntity. comment := builder newClassNamed: #Comment. namedEntity := builder newAbstractClassNamed: #NamedEntity. @@ -53,8 +51,5 @@ FamixBasicInfrastructureGenerator >> defineHierarchy [ namedEntity --|> #TNamedEntity. sourceTextAnchor --|> sourceAnchor. - sourceTextAnchor --|> #THasImmediateSource. - - unknownSourceLanguage --|> sourceLanguage. - unknownSourceLanguage --|> #TUnknownSourceLanguage + sourceTextAnchor --|> #THasImmediateSource ] diff --git a/src/Famix-Java-Entities/FamixJavaImportingContext.class.st b/src/Famix-Java-Entities/FamixJavaImportingContext.class.st index 0f22d3ce..6ecb9889 100644 --- a/src/Famix-Java-Entities/FamixJavaImportingContext.class.st +++ b/src/Famix-Java-Entities/FamixJavaImportingContext.class.st @@ -246,13 +246,6 @@ FamixJavaImportingContext >> importType [ ^ self importConcreteEntity: (self class fm3ClassNamed: #Type) ] -{ #category : #importing } -FamixJavaImportingContext >> importUnknownSourceLanguage [ - - - ^ self importConcreteEntity: (self class fm3ClassNamed: #UnknownSourceLanguage) -] - { #category : #importing } FamixJavaImportingContext >> importUnknownVariable [ @@ -498,13 +491,6 @@ FamixJavaImportingContext >> shouldImportType [ ^ self shouldImport: #Type ] -{ #category : #testing } -FamixJavaImportingContext >> shouldImportUnknownSourceLanguage [ - - - ^ self shouldImport: #UnknownSourceLanguage -] - { #category : #testing } FamixJavaImportingContext >> shouldImportUnknownVariable [ diff --git a/src/Famix-Java-Entities/FamixJavaTEntityCreator.trait.st b/src/Famix-Java-Entities/FamixJavaTEntityCreator.trait.st index 50538b8a..f989d6cf 100644 --- a/src/Famix-Java-Entities/FamixJavaTEntityCreator.trait.st +++ b/src/Famix-Java-Entities/FamixJavaTEntityCreator.trait.st @@ -347,13 +347,6 @@ FamixJavaTEntityCreator >> newTypeNamed: aName [ ^ self add: (FamixJavaType named: aName) ] -{ #category : #'entity creation' } -FamixJavaTEntityCreator >> newUnknownSourceLanguage [ - - - ^ self add: FamixJavaUnknownSourceLanguage new -] - { #category : #'entity creation' } FamixJavaTEntityCreator >> newUnknownVariable [ diff --git a/src/Famix-Java-Entities/FamixJavaUnknownSourceLanguage.class.st b/src/Famix-Java-Entities/FamixJavaUnknownSourceLanguage.class.st deleted file mode 100644 index 3281a893..00000000 --- a/src/Famix-Java-Entities/FamixJavaUnknownSourceLanguage.class.st +++ /dev/null @@ -1,38 +0,0 @@ -" -## Relations -====================== - -### Other -| Relation | Origin | Opposite | Type | Comment | -|---| -| `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| - - - -" -Class { - #name : #FamixJavaUnknownSourceLanguage, - #superclass : #FamixJavaSourceLanguage, - #traits : 'FamixTUnknownSourceLanguage', - #classTraits : 'FamixTUnknownSourceLanguage classTrait', - #category : #'Famix-Java-Entities-Entities' -} - -{ #category : #meta } -FamixJavaUnknownSourceLanguage class >> annotation [ - - - - - ^ self -] - -{ #category : #accessing } -FamixJavaUnknownSourceLanguage >> name [ - - - - - - ^ 'Unknown' -] diff --git a/src/Famix-MetamodelGeneration/FamixGenerator.class.st b/src/Famix-MetamodelGeneration/FamixGenerator.class.st index 91d9004a..9a0c21c3 100644 --- a/src/Famix-MetamodelGeneration/FamixGenerator.class.st +++ b/src/Famix-MetamodelGeneration/FamixGenerator.class.st @@ -56,7 +56,6 @@ Class { 'tTypeAlias', 'tTypedAnnotationInstance', 'tTypedAnnotationInstanceAttribute', - 'tUnknownSourceLanguage', 'tWithAccesses', 'tWithAnnotationInstanceAttributes', 'tWithAnnotationInstances', @@ -1081,8 +1080,6 @@ FamixGenerator >> defineHierarchy [ tType --|> #TEntityMetaLevelDependency. tType --|> tSourceEntity. - tUnknownSourceLanguage --|> tSourceLanguage. - tUnknownVariable --|> tStructuralEntity. tWithClasses --|> tWithTypes. @@ -1771,8 +1768,6 @@ FamixGenerator >> defineTraits [ tTypedEntity := builder newTraitNamed: #TTypedEntity. tTypedEntity comment: self commentForTTypedStructure. - tUnknownSourceLanguage := builder newTraitNamed: #TUnknownSourceLanguage. - tUnknownVariable := builder newTraitNamed: #TUnknownVariable. tWithAccesses := builder newTraitNamed: #TWithAccesses. diff --git a/src/Famix-PharoSmalltalk-Entities/FamixStImportingContext.class.st b/src/Famix-PharoSmalltalk-Entities/FamixStImportingContext.class.st index 4ed50b90..dc4ab702 100644 --- a/src/Famix-PharoSmalltalk-Entities/FamixStImportingContext.class.st +++ b/src/Famix-PharoSmalltalk-Entities/FamixStImportingContext.class.st @@ -162,13 +162,6 @@ FamixStImportingContext >> importSourceTextAnchor [ ^ self importConcreteEntity: (self class fm3ClassNamed: #SourceTextAnchor) ] -{ #category : #importing } -FamixStImportingContext >> importUnknownSourceLanguage [ - - - ^ self importConcreteEntity: (self class fm3ClassNamed: #UnknownSourceLanguage) -] - { #category : #importing } FamixStImportingContext >> importUnknownVariable [ @@ -323,13 +316,6 @@ FamixStImportingContext >> shouldImportSourceTextAnchor [ ^ self shouldImport: #SourceTextAnchor ] -{ #category : #testing } -FamixStImportingContext >> shouldImportUnknownSourceLanguage [ - - - ^ self shouldImport: #UnknownSourceLanguage -] - { #category : #testing } FamixStImportingContext >> shouldImportUnknownVariable [ diff --git a/src/Famix-PharoSmalltalk-Entities/FamixStTEntityCreator.trait.st b/src/Famix-PharoSmalltalk-Entities/FamixStTEntityCreator.trait.st index b4b23b5d..ea69953f 100644 --- a/src/Famix-PharoSmalltalk-Entities/FamixStTEntityCreator.trait.st +++ b/src/Famix-PharoSmalltalk-Entities/FamixStTEntityCreator.trait.st @@ -235,13 +235,6 @@ FamixStTEntityCreator >> newSourceTextAnchor [ ^ self add: FamixStSourceTextAnchor new ] -{ #category : #'entity creation' } -FamixStTEntityCreator >> newUnknownSourceLanguage [ - - - ^ self add: FamixStUnknownSourceLanguage new -] - { #category : #'entity creation' } FamixStTEntityCreator >> newUnknownVariable [ diff --git a/src/Famix-PharoSmalltalk-Entities/FamixStUnknownSourceLanguage.class.st b/src/Famix-PharoSmalltalk-Entities/FamixStUnknownSourceLanguage.class.st deleted file mode 100644 index 0ea4858b..00000000 --- a/src/Famix-PharoSmalltalk-Entities/FamixStUnknownSourceLanguage.class.st +++ /dev/null @@ -1,33 +0,0 @@ -" -## Relations -====================== - -### Other -| Relation | Origin | Opposite | Type | Comment | -|---| -| `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| - - - -" -Class { - #name : #FamixStUnknownSourceLanguage, - #superclass : #FamixStSourceLanguage, - #traits : 'FamixTUnknownSourceLanguage', - #classTraits : 'FamixTUnknownSourceLanguage classTrait', - #category : #'Famix-PharoSmalltalk-Entities-Entities' -} - -{ #category : #meta } -FamixStUnknownSourceLanguage class >> annotation [ - - - - - ^ self -] - -{ #category : #testing } -FamixStUnknownSourceLanguage >> isSmalltalk [ - ^ false -] diff --git a/src/Famix-Test1-Entities/FamixTest1ImportingContext.class.st b/src/Famix-Test1-Entities/FamixTest1ImportingContext.class.st index 1dc8574a..a47fce1a 100644 --- a/src/Famix-Test1-Entities/FamixTest1ImportingContext.class.st +++ b/src/Famix-Test1-Entities/FamixTest1ImportingContext.class.st @@ -99,13 +99,6 @@ FamixTest1ImportingContext >> importSourceTextAnchor [ ^ self importConcreteEntity: (self class fm3ClassNamed: #SourceTextAnchor) ] -{ #category : #importing } -FamixTest1ImportingContext >> importUnknownSourceLanguage [ - - - ^ self importConcreteEntity: (self class fm3ClassNamed: #UnknownSourceLanguage) -] - { #category : #testing } FamixTest1ImportingContext >> shouldImportAssociation [ @@ -189,10 +182,3 @@ FamixTest1ImportingContext >> shouldImportSourceTextAnchor [ ^ self shouldImport: #SourceTextAnchor ] - -{ #category : #testing } -FamixTest1ImportingContext >> shouldImportUnknownSourceLanguage [ - - - ^ self shouldImport: #UnknownSourceLanguage -] diff --git a/src/Famix-Test1-Entities/FamixTest1TEntityCreator.trait.st b/src/Famix-Test1-Entities/FamixTest1TEntityCreator.trait.st index 468a8430..b6f85df0 100644 --- a/src/Famix-Test1-Entities/FamixTest1TEntityCreator.trait.st +++ b/src/Famix-Test1-Entities/FamixTest1TEntityCreator.trait.st @@ -122,10 +122,3 @@ FamixTest1TEntityCreator >> newSourceTextAnchor [ ^ self add: FamixTest1SourceTextAnchor new ] - -{ #category : #'entity creation' } -FamixTest1TEntityCreator >> newUnknownSourceLanguage [ - - - ^ self add: FamixTest1UnknownSourceLanguage new -] diff --git a/src/Famix-Test1-Entities/FamixTest1UnknownSourceLanguage.class.st b/src/Famix-Test1-Entities/FamixTest1UnknownSourceLanguage.class.st deleted file mode 100644 index 18f18b82..00000000 --- a/src/Famix-Test1-Entities/FamixTest1UnknownSourceLanguage.class.st +++ /dev/null @@ -1,28 +0,0 @@ -" -## Relations -====================== - -### Other -| Relation | Origin | Opposite | Type | Comment | -|---| -| `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| - - - -" -Class { - #name : #FamixTest1UnknownSourceLanguage, - #superclass : #FamixTest1SourceLanguage, - #traits : 'FamixTUnknownSourceLanguage', - #classTraits : 'FamixTUnknownSourceLanguage classTrait', - #category : #'Famix-Test1-Entities-Entities' -} - -{ #category : #meta } -FamixTest1UnknownSourceLanguage class >> annotation [ - - - - - ^ self -] diff --git a/src/Famix-Test2-Entities/FamixTest2TEntityCreator.trait.st b/src/Famix-Test2-Entities/FamixTest2TEntityCreator.trait.st index 1a315346..92b31782 100644 --- a/src/Famix-Test2-Entities/FamixTest2TEntityCreator.trait.st +++ b/src/Famix-Test2-Entities/FamixTest2TEntityCreator.trait.st @@ -59,10 +59,3 @@ FamixTest2TEntityCreator >> newSourceTextAnchor [ ^ self add: FamixTest2SourceTextAnchor new ] - -{ #category : #'entity creation' } -FamixTest2TEntityCreator >> newUnknownSourceLanguage [ - - - ^ self add: FamixTest2UnknownSourceLanguage new -] diff --git a/src/Famix-Test2-Entities/FamixTest2UnknownSourceLanguage.class.st b/src/Famix-Test2-Entities/FamixTest2UnknownSourceLanguage.class.st deleted file mode 100644 index cfb0df8b..00000000 --- a/src/Famix-Test2-Entities/FamixTest2UnknownSourceLanguage.class.st +++ /dev/null @@ -1,28 +0,0 @@ -" -## Relations -====================== - -### Other -| Relation | Origin | Opposite | Type | Comment | -|---| -| `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| - - - -" -Class { - #name : #FamixTest2UnknownSourceLanguage, - #superclass : #FamixTest2SourceLanguage, - #traits : 'FamixTUnknownSourceLanguage', - #classTraits : 'FamixTUnknownSourceLanguage classTrait', - #category : #'Famix-Test2-Entities-Entities' -} - -{ #category : #meta } -FamixTest2UnknownSourceLanguage class >> annotation [ - - - - - ^ self -] diff --git a/src/Famix-Test3-Entities/FamixTest3TEntityCreator.trait.st b/src/Famix-Test3-Entities/FamixTest3TEntityCreator.trait.st index c4765787..4bbd749e 100644 --- a/src/Famix-Test3-Entities/FamixTest3TEntityCreator.trait.st +++ b/src/Famix-Test3-Entities/FamixTest3TEntityCreator.trait.st @@ -143,10 +143,3 @@ FamixTest3TEntityCreator >> newTypeNamed: aName [ ^ self add: (FamixTest3Type named: aName) ] - -{ #category : #'entity creation' } -FamixTest3TEntityCreator >> newUnknownSourceLanguage [ - - - ^ self add: FamixTest3UnknownSourceLanguage new -] diff --git a/src/Famix-Test3-Entities/FamixTest3UnknownSourceLanguage.class.st b/src/Famix-Test3-Entities/FamixTest3UnknownSourceLanguage.class.st deleted file mode 100644 index 0f611424..00000000 --- a/src/Famix-Test3-Entities/FamixTest3UnknownSourceLanguage.class.st +++ /dev/null @@ -1,28 +0,0 @@ -" -## Relations -====================== - -### Other -| Relation | Origin | Opposite | Type | Comment | -|---| -| `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| - - - -" -Class { - #name : #FamixTest3UnknownSourceLanguage, - #superclass : #FamixTest3SourceLanguage, - #traits : 'FamixTUnknownSourceLanguage', - #classTraits : 'FamixTUnknownSourceLanguage classTrait', - #category : #'Famix-Test3-Entities-Entities' -} - -{ #category : #meta } -FamixTest3UnknownSourceLanguage class >> annotation [ - - - - - ^ self -] diff --git a/src/Famix-Test6-Entities/FamixTest6TEntityCreator.trait.st b/src/Famix-Test6-Entities/FamixTest6TEntityCreator.trait.st index ddbd9b59..9ca60564 100644 --- a/src/Famix-Test6-Entities/FamixTest6TEntityCreator.trait.st +++ b/src/Famix-Test6-Entities/FamixTest6TEntityCreator.trait.st @@ -52,10 +52,3 @@ FamixTest6TEntityCreator >> newSpam [ ^ self add: FamixTest6Spam new ] - -{ #category : #'entity creation' } -FamixTest6TEntityCreator >> newUnknownSourceLanguage [ - - - ^ self add: FamixTest6UnknownSourceLanguage new -] diff --git a/src/Famix-Test6-Entities/FamixTest6UnknownSourceLanguage.class.st b/src/Famix-Test6-Entities/FamixTest6UnknownSourceLanguage.class.st deleted file mode 100644 index 5e678258..00000000 --- a/src/Famix-Test6-Entities/FamixTest6UnknownSourceLanguage.class.st +++ /dev/null @@ -1,28 +0,0 @@ -" -## Relations -====================== - -### Other -| Relation | Origin | Opposite | Type | Comment | -|---| -| `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| - - - -" -Class { - #name : #FamixTest6UnknownSourceLanguage, - #superclass : #FamixTest6SourceLanguage, - #traits : 'FamixTUnknownSourceLanguage', - #classTraits : 'FamixTUnknownSourceLanguage classTrait', - #category : #'Famix-Test6-Entities-Entities' -} - -{ #category : #meta } -FamixTest6UnknownSourceLanguage class >> annotation [ - - - - - ^ self -] diff --git a/src/Famix-Test7-Entities/FamixTest7TEntityCreator.trait.st b/src/Famix-Test7-Entities/FamixTest7TEntityCreator.trait.st index 43a303e0..a6925d6f 100644 --- a/src/Famix-Test7-Entities/FamixTest7TEntityCreator.trait.st +++ b/src/Famix-Test7-Entities/FamixTest7TEntityCreator.trait.st @@ -73,10 +73,3 @@ FamixTest7TEntityCreator >> newSourceTextAnchor [ ^ self add: FamixTest7SourceTextAnchor new ] - -{ #category : #'entity creation' } -FamixTest7TEntityCreator >> newUnknownSourceLanguage [ - - - ^ self add: FamixTest7UnknownSourceLanguage new -] diff --git a/src/Famix-Test7-Entities/FamixTest7UnknownSourceLanguage.class.st b/src/Famix-Test7-Entities/FamixTest7UnknownSourceLanguage.class.st deleted file mode 100644 index 5096a8e4..00000000 --- a/src/Famix-Test7-Entities/FamixTest7UnknownSourceLanguage.class.st +++ /dev/null @@ -1,28 +0,0 @@ -" -## Relations -====================== - -### Other -| Relation | Origin | Opposite | Type | Comment | -|---| -| `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| - - - -" -Class { - #name : #FamixTest7UnknownSourceLanguage, - #superclass : #FamixTest7SourceLanguage, - #traits : 'FamixTUnknownSourceLanguage', - #classTraits : 'FamixTUnknownSourceLanguage classTrait', - #category : #'Famix-Test7-Entities-Entities' -} - -{ #category : #meta } -FamixTest7UnknownSourceLanguage class >> annotation [ - - - - - ^ self -] diff --git a/src/Famix-TestComposedSubmetamodel1-Entities/FamixTestComposed1TEntityCreator.trait.st b/src/Famix-TestComposedSubmetamodel1-Entities/FamixTestComposed1TEntityCreator.trait.st index cba2b8ec..6f511f2e 100644 --- a/src/Famix-TestComposedSubmetamodel1-Entities/FamixTestComposed1TEntityCreator.trait.st +++ b/src/Famix-TestComposedSubmetamodel1-Entities/FamixTestComposed1TEntityCreator.trait.st @@ -101,10 +101,3 @@ FamixTestComposed1TEntityCreator >> newSourceTextAnchor [ ^ self add: FamixTestComposed1SourceTextAnchor new ] - -{ #category : #'entity creation' } -FamixTestComposed1TEntityCreator >> newUnknownSourceLanguage [ - - - ^ self add: FamixTestComposed1UnknownSourceLanguage new -] diff --git a/src/Famix-TestComposedSubmetamodel1-Entities/FamixTestComposed1UnknownSourceLanguage.class.st b/src/Famix-TestComposedSubmetamodel1-Entities/FamixTestComposed1UnknownSourceLanguage.class.st deleted file mode 100644 index 6350a6b0..00000000 --- a/src/Famix-TestComposedSubmetamodel1-Entities/FamixTestComposed1UnknownSourceLanguage.class.st +++ /dev/null @@ -1,28 +0,0 @@ -" -## Relations -====================== - -### Other -| Relation | Origin | Opposite | Type | Comment | -|---| -| `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| - - - -" -Class { - #name : #FamixTestComposed1UnknownSourceLanguage, - #superclass : #FamixTestComposed1SourceLanguage, - #traits : 'FamixTUnknownSourceLanguage', - #classTraits : 'FamixTUnknownSourceLanguage classTrait', - #category : #'Famix-TestComposedSubmetamodel1-Entities-Entities' -} - -{ #category : #meta } -FamixTestComposed1UnknownSourceLanguage class >> annotation [ - - - - - ^ self -] diff --git a/src/Famix-TestComposedSubmetamodel2-Entities/FamixTestComposed2TEntityCreator.trait.st b/src/Famix-TestComposedSubmetamodel2-Entities/FamixTestComposed2TEntityCreator.trait.st index 4780f406..50a48b46 100644 --- a/src/Famix-TestComposedSubmetamodel2-Entities/FamixTestComposed2TEntityCreator.trait.st +++ b/src/Famix-TestComposedSubmetamodel2-Entities/FamixTestComposed2TEntityCreator.trait.st @@ -101,10 +101,3 @@ FamixTestComposed2TEntityCreator >> newSourceTextAnchor [ ^ self add: FamixTestComposed2SourceTextAnchor new ] - -{ #category : #'entity creation' } -FamixTestComposed2TEntityCreator >> newUnknownSourceLanguage [ - - - ^ self add: FamixTestComposed2UnknownSourceLanguage new -] diff --git a/src/Famix-TestComposedSubmetamodel2-Entities/FamixTestComposed2UnknownSourceLanguage.class.st b/src/Famix-TestComposedSubmetamodel2-Entities/FamixTestComposed2UnknownSourceLanguage.class.st deleted file mode 100644 index 7734eb1f..00000000 --- a/src/Famix-TestComposedSubmetamodel2-Entities/FamixTestComposed2UnknownSourceLanguage.class.st +++ /dev/null @@ -1,28 +0,0 @@ -" -## Relations -====================== - -### Other -| Relation | Origin | Opposite | Type | Comment | -|---| -| `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| - - - -" -Class { - #name : #FamixTestComposed2UnknownSourceLanguage, - #superclass : #FamixTestComposed2SourceLanguage, - #traits : 'FamixTUnknownSourceLanguage', - #classTraits : 'FamixTUnknownSourceLanguage classTrait', - #category : #'Famix-TestComposedSubmetamodel2-Entities-Entities' -} - -{ #category : #meta } -FamixTestComposed2UnknownSourceLanguage class >> annotation [ - - - - - ^ self -] diff --git a/src/Famix-Traits/FamixTUnknownSourceLanguage.trait.st b/src/Famix-Traits/FamixTUnknownSourceLanguage.trait.st deleted file mode 100644 index 1d7e5043..00000000 --- a/src/Famix-Traits/FamixTUnknownSourceLanguage.trait.st +++ /dev/null @@ -1,32 +0,0 @@ -" -## Relations -====================== - -### Other -| Relation | Origin | Opposite | Type | Comment | -|---| -| `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| - - - -" -Trait { - #name : #FamixTUnknownSourceLanguage, - #traits : 'FamixTSourceLanguage', - #classTraits : 'FamixTSourceLanguage classTrait', - #category : #'Famix-Traits-SourceLanguage' -} - -{ #category : #meta } -FamixTUnknownSourceLanguage classSide >> annotation [ - - - - - ^ self -] - -{ #category : #testing } -FamixTUnknownSourceLanguage >> isUnknown [ - ^ true -] diff --git a/src/Moose-Core-Tests-Entities/MooseMSEImporterTestTEntityCreator.trait.st b/src/Moose-Core-Tests-Entities/MooseMSEImporterTestTEntityCreator.trait.st index f529748b..8c7079be 100644 --- a/src/Moose-Core-Tests-Entities/MooseMSEImporterTestTEntityCreator.trait.st +++ b/src/Moose-Core-Tests-Entities/MooseMSEImporterTestTEntityCreator.trait.st @@ -129,10 +129,3 @@ MooseMSEImporterTestTEntityCreator >> newSourceTextAnchor [ ^ self add: MooseMSEImporterTestSourceTextAnchor new ] - -{ #category : #'entity creation' } -MooseMSEImporterTestTEntityCreator >> newUnknownSourceLanguage [ - - - ^ self add: MooseMSEImporterTestUnknownSourceLanguage new -] diff --git a/src/Moose-Core-Tests-Entities/MooseMSEImporterTestUnknownSourceLanguage.class.st b/src/Moose-Core-Tests-Entities/MooseMSEImporterTestUnknownSourceLanguage.class.st deleted file mode 100644 index 9873305f..00000000 --- a/src/Moose-Core-Tests-Entities/MooseMSEImporterTestUnknownSourceLanguage.class.st +++ /dev/null @@ -1,28 +0,0 @@ -" -## Relations -====================== - -### Other -| Relation | Origin | Opposite | Type | Comment | -|---| -| `sourcedEntities` | `FamixTSourceLanguage` | `declaredSourceLanguage` | `FamixTWithSourceLanguages` | References to the entities saying explicitly that are written in this language.| - - - -" -Class { - #name : #MooseMSEImporterTestUnknownSourceLanguage, - #superclass : #MooseMSEImporterTestSourceLanguage, - #traits : 'FamixTUnknownSourceLanguage', - #classTraits : 'FamixTUnknownSourceLanguage classTrait', - #category : #'Moose-Core-Tests-Entities-Entities' -} - -{ #category : #meta } -MooseMSEImporterTestUnknownSourceLanguage class >> annotation [ - - - - - ^ self -] diff --git a/src/Moose-Importers/MooseFileStructureImporter.class.st b/src/Moose-Importers/MooseFileStructureImporter.class.st index 27c3e0a4..82ea5700 100644 --- a/src/Moose-Importers/MooseFileStructureImporter.class.st +++ b/src/Moose-Importers/MooseFileStructureImporter.class.st @@ -22,9 +22,7 @@ MooseFileStructureImporter >> completeImport: folders [ | folder | folder := self folderClass named: each filedIn: nil. self importContentsInFolderNamed: (FileSystem disk referenceTo: each) filedInFolder: folder. - self mooseModel add: folder ]. - self mooseModel sourceLanguage - ifNil: [ self mooseModel sourceLanguage: self unknownSourceLanguageClass new ] + self mooseModel add: folder ] ] { #category : #accessing } @@ -76,8 +74,3 @@ MooseFileStructureImporter >> mooseModel [ MooseFileStructureImporter >> mooseModel: anObject [ mooseModel := anObject ] - -{ #category : #accessing } -MooseFileStructureImporter >> unknownSourceLanguageClass [ - ^ self classNamed: #UnknownSourceLanguage -]