Skip to content

Commit

Permalink
Merge pull request #736 from moosetechnology/make-comments-child-of-c…
Browse files Browse the repository at this point in the history
…ommented-entities

Make comments children of commented entities
  • Loading branch information
jecisc authored Mar 22, 2024
2 parents 83038d2 + 1a2fed3 commit 2b46060
Show file tree
Hide file tree
Showing 46 changed files with 133 additions and 62 deletions.
2 changes: 1 addition & 1 deletion src/Famix-Java-Entities/FamixJavaAnnotationType.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
| Relation | Origin | Opposite | Type | Comment |
|---|
| `attributes` | `FamixTWithAttributes` | `parentType` | `FamixTAttribute` | List of attributes declared by this type.|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
### Outgoing dependencies
| Relation | Origin | Opposite | Type | Comment |
Expand All @@ -27,7 +28,6 @@
### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `instances` | `FamixTAnnotationType` | `annotationType` | `FamixTTypedAnnotationInstance` | Annotations of this type|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
|---|
| `parentType` | `FamixTAttribute` | `attributes` | `FamixTWithAttributes` | Type declaring the attribute. belongsTo implementation|
### Children
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
### Incoming dependencies
| Relation | Origin | Opposite | Type | Comment |
|---|
Expand All @@ -17,7 +22,6 @@
|---|
| `annotationAttributeInstances` | `FamixTAnnotationTypeAttribute` | `annotationTypeAttribute` | `FamixTTypedAnnotationInstanceAttribute` | A collection of AnnotationInstanceAttribute which hold the usages of this attribute in actual AnnotationInstances|
| `annotationTypeAttribute` | `FamixTTypedAnnotationInstanceAttribute` | `annotationAttributeInstances` | `FamixTAnnotationTypeAttribute` | This corresponds to the type of the attribute in an AnnotationInstance|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `declaredType` | `FamixTTypedEntity` | `typedEntities` | `FamixTType` | Type of the entity, if any|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
Expand Down
6 changes: 5 additions & 1 deletion src/Famix-Java-Entities/FamixJavaAttribute.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
|---|
| `parentType` | `FamixTAttribute` | `attributes` | `FamixTWithAttributes` | Type declaring the attribute. belongsTo implementation|
### Children
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
### Incoming dependencies
| Relation | Origin | Opposite | Type | Comment |
|---|
Expand All @@ -15,7 +20,6 @@
### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `declaredType` | `FamixTTypedEntity` | `typedEntities` | `FamixTType` | Type of the entity, if any|
| `receivingInvocations` | `FamixTInvocationsReceiver` | `receiver` | `FamixTInvocation` | List of invocations performed on this entity (considered as the receiver)|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
Expand Down
11 changes: 6 additions & 5 deletions src/Famix-Java-Entities/FamixJavaClass.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
| Relation | Origin | Opposite | Type | Comment |
|---|
| `attributes` | `FamixTWithAttributes` | `parentType` | `FamixTAttribute` | List of attributes declared by this type.|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `methods` | `FamixTWithMethods` | `parentType` | `FamixTMethod` | Methods declared by this type.|
### Outgoing dependencies
Expand All @@ -31,7 +32,6 @@
### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `receivingInvocations` | `FamixTInvocationsReceiver` | `receiver` | `FamixTInvocation` | List of invocations performed on this entity (considered as the receiver)|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
| `typedEntities` | `FamixTType` | `declaredType` | `FamixTTypedEntity` | Entities that have this type as declaredType|
Expand Down Expand Up @@ -176,11 +176,12 @@ FamixJavaClass >> methodsWithoutSutbsAndConstructors [
{ #category : #accessing }
FamixJavaClass >> numberOfComments [
"Overrides to include method comments in the numberOfComments of the class"
^ self
lookUpPropertyNamed: #numberOfComments
computedAs: [ self children asArray
inject: self comments size into: [ :sum :child | child numberOfComments + sum ] ]

^ self lookUpPropertyNamed: #numberOfComments computedAs: [
self children asArray inject: self comments size into: [ :sum :child |
(child class includesTrait: FamixTWithComments)
ifTrue: [ child numberOfComments + sum ]
ifFalse: [ sum ] ] ]
]

{ #category : #'Famix-Extensions' }
Expand Down
2 changes: 1 addition & 1 deletion src/Famix-Java-Entities/FamixJavaComment.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Relations
======================
### Other
### Parents
| Relation | Origin | Opposite | Type | Comment |
|---|
| `commentedEntity` | `FamixTComment` | `comments` | `FamixTWithComments` | Source code commented by the comment|
Expand Down
2 changes: 1 addition & 1 deletion src/Famix-Java-Entities/FamixJavaEnum.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
| Relation | Origin | Opposite | Type | Comment |
|---|
| `attributes` | `FamixTWithAttributes` | `parentType` | `FamixTAttribute` | List of attributes declared by this type.|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `enumValues` | `FamixTWithEnumValues` | `parentEnum` | `FamixTEnumValue` | |
| `methods` | `FamixTWithMethods` | `parentType` | `FamixTMethod` | Methods declared by this type.|
Expand All @@ -30,7 +31,6 @@
### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
| `typedEntities` | `FamixTType` | `declaredType` | `FamixTTypedEntity` | Entities that have this type as declaredType|
Expand Down
6 changes: 5 additions & 1 deletion src/Famix-Java-Entities/FamixJavaEnumValue.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
|---|
| `parentEnum` | `FamixTEnumValue` | `enumValues` | `FamixTWithEnumValues` | The Enum declaring this value. It offers the implementation of belongsTo|
### Children
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
### Incoming dependencies
| Relation | Origin | Opposite | Type | Comment |
|---|
Expand All @@ -15,7 +20,6 @@
### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `declaredType` | `FamixTTypedEntity` | `typedEntities` | `FamixTType` | Type of the entity, if any|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
Expand Down
2 changes: 1 addition & 1 deletion src/Famix-Java-Entities/FamixJavaException.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
| Relation | Origin | Opposite | Type | Comment |
|---|
| `attributes` | `FamixTWithAttributes` | `parentType` | `FamixTAttribute` | List of attributes declared by this type.|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `methods` | `FamixTWithMethods` | `parentType` | `FamixTMethod` | Methods declared by this type.|
| `types` | `FamixTWithTypes` | `typeContainer` | `FamixTType` | Types contained (declared) in this entity, if any.
#types is declared in ContainerEntity because different kinds of container can embed types. Types are usually contained in a Famix.Namespace. But types can also be contained in a Famix.Class or Famix.Method (in Java with inner classes for example). Famix.Function can also contain some types such as structs.|
Expand All @@ -32,7 +33,6 @@
|---|
| `annotationInstances` | `FamixTWithAnnotationInstances` | `annotatedEntity` | `FamixTAnnotationInstance` | This property corresponds to the set of annotations associated to the entity|
| `catchingEntities` | `FamixTThrowable` | `caughtExceptions` | `FamixTWithExceptions` | |
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `declaringEntities` | `FamixTThrowable` | `declaredExceptions` | `FamixTWithExceptions` | |
| `receivingInvocations` | `FamixTInvocationsReceiver` | `receiver` | `FamixTInvocation` | List of invocations performed on this entity (considered as the receiver)|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
Expand Down
2 changes: 1 addition & 1 deletion src/Famix-Java-Entities/FamixJavaInterface.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
| Relation | Origin | Opposite | Type | Comment |
|---|
| `attributes` | `FamixTWithAttributes` | `parentType` | `FamixTAttribute` | List of attributes declared by this type.|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `methods` | `FamixTWithMethods` | `parentType` | `FamixTMethod` | Methods declared by this type.|
### Outgoing dependencies
Expand All @@ -29,7 +30,6 @@
### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `receivingInvocations` | `FamixTInvocationsReceiver` | `receiver` | `FamixTInvocation` | List of invocations performed on this entity (considered as the receiver)|
Expand Down
6 changes: 5 additions & 1 deletion src/Famix-Java-Entities/FamixJavaLocalVariable.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
|---|
| `parentBehaviouralEntity` | `FamixTLocalVariable` | `localVariables` | `FamixTWithLocalVariables` | Behavioural entity declaring this local variable. belongsTo implementation|
### Children
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
### Incoming dependencies
| Relation | Origin | Opposite | Type | Comment |
|---|
Expand All @@ -15,7 +20,6 @@
### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `declaredType` | `FamixTTypedEntity` | `typedEntities` | `FamixTType` | Type of the entity, if any|
| `receivingInvocations` | `FamixTInvocationsReceiver` | `receiver` | `FamixTInvocation` | List of invocations performed on this entity (considered as the receiver)|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
Expand Down
2 changes: 1 addition & 1 deletion src/Famix-Java-Entities/FamixJavaMethod.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
### Children
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `implicitVariables` | `FamixTWithImplicitVariables` | `parentBehaviouralEntity` | `FamixTImplicitVariable` | Implicit variables used locally by this behaviour.|
| `localVariables` | `FamixTWithLocalVariables` | `parentBehaviouralEntity` | `FamixTLocalVariable` | Variables locally defined by this behaviour.|
| `parameters` | `FamixTWithParameters` | `parentBehaviouralEntity` | `FamixTParameter` | List of formal parameters declared by this behaviour.|
Expand All @@ -31,7 +32,6 @@
| Relation | Origin | Opposite | Type | Comment |
|---|
| `caughtExceptions` | `FamixTWithExceptions` | `catchingEntities` | `FamixTThrowable` | The exceptions caught by the method|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `declaredExceptions` | `FamixTWithExceptions` | `declaringEntities` | `FamixTThrowable` | The exceptions declared by the method|
| `declaredType` | `FamixTTypedEntity` | `typedEntities` | `FamixTType` | Type of the entity, if any|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
Expand Down
2 changes: 1 addition & 1 deletion src/Famix-Java-Entities/FamixJavaPackage.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
| Relation | Origin | Opposite | Type | Comment |
|---|
| `childEntities` | `FamixTPackage` | `parentPackage` | `FamixTPackageable` | |
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
### Incoming dependencies
| Relation | Origin | Opposite | Type | Comment |
Expand All @@ -20,7 +21,6 @@
### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
Expand Down
6 changes: 5 additions & 1 deletion src/Famix-Java-Entities/FamixJavaParameter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
|---|
| `parentBehaviouralEntity` | `FamixTParameter` | `parameters` | `FamixTWithParameters` | Behavioural entity containing this parameter. belongsTo implementation|
### Children
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
### Incoming dependencies
| Relation | Origin | Opposite | Type | Comment |
|---|
Expand All @@ -15,7 +20,6 @@
### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `declaredType` | `FamixTTypedEntity` | `typedEntities` | `FamixTType` | Type of the entity, if any|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
Expand Down
3 changes: 2 additions & 1 deletion src/Famix-MetamodelBuilder-Core/FmxPackageAddition.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ FmxPackageAddition class >> named: aName [

{ #category : #accessing }
FmxPackageAddition >> apply [
self packageOrganizer createPackageNamed: self packageName

self packageOrganizer ensurePackage: self packageName
]

{ #category : #accessing }
Expand Down
5 changes: 4 additions & 1 deletion src/Famix-MetamodelGeneration/FamixGenerator.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,8 @@ FamixGenerator >> defineHierarchy [
tClassWithVisibility --|> tHasVisibility.

tClassGroup --|> tTypeGroup.

tComment --|> #TEntityMetaLevelDependency.

tCompilationUnit --|> tFile.

Expand Down Expand Up @@ -1251,7 +1253,8 @@ FamixGenerator >> defineRelations [
comment: 'The exceptions caught by the method').

((tComment property: #commentedEntity)
comment: 'Source code commented by the comment')
comment: 'Source code commented by the comment';
container)
*-
((tWithComments property: #comments)
comment: 'List of comments for the entity').
Expand Down
11 changes: 6 additions & 5 deletions src/Famix-PharoSmalltalk-Entities/FamixStClass.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
| Relation | Origin | Opposite | Type | Comment |
|---|
| `attributes` | `FamixTWithAttributes` | `parentType` | `FamixTAttribute` | List of attributes declared by this type.|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `methods` | `FamixTWithMethods` | `parentType` | `FamixTMethod` | Methods declared by this type.|
### Outgoing dependencies
Expand All @@ -28,7 +29,6 @@
### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `receivingInvocations` | `FamixTInvocationsReceiver` | `receiver` | `FamixTInvocation` | List of invocations performed on this entity (considered as the receiver)|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
| `typedEntities` | `FamixTType` | `declaredType` | `FamixTTypedEntity` | Entities that have this type as declaredType|
Expand Down Expand Up @@ -176,11 +176,12 @@ FamixStClass >> methodsWithoutSutbsAndConstructors [
{ #category : #accessing }
FamixStClass >> numberOfComments [
"Overrides to include method comments in the numberOfComments of the class"
^ self
lookUpPropertyNamed: #numberOfComments
computedAs: [ self methods asArray
inject: self comments size into: [ :sum :child | child numberOfComments + sum ] ]

^ self lookUpPropertyNamed: #numberOfComments computedAs: [
self children asArray inject: self comments size into: [ :sum :child |
(child class includesTrait: FamixTWithComments)
ifTrue: [ child numberOfComments + sum ]
ifFalse: [ sum ] ] ]
]

{ #category : #metrics }
Expand Down
2 changes: 1 addition & 1 deletion src/Famix-PharoSmalltalk-Entities/FamixStComment.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Relations
======================
### Other
### Parents
| Relation | Origin | Opposite | Type | Comment |
|---|
| `commentedEntity` | `FamixTComment` | `comments` | `FamixTWithComments` | Source code commented by the comment|
Expand Down
2 changes: 1 addition & 1 deletion src/Famix-PharoSmalltalk-Entities/FamixStMethod.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
### Children
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `definedAnnotationTypes` | `FamixTWithAnnotationTypes` | `annotationTypesContainer` | `FamixTAnnotationType` | The container in which the AnnotationTypes may be declared|
| `implicitVariables` | `FamixTWithImplicitVariables` | `parentBehaviouralEntity` | `FamixTImplicitVariable` | Implicit variables used locally by this behaviour.|
| `localVariables` | `FamixTWithLocalVariables` | `parentBehaviouralEntity` | `FamixTLocalVariable` | Variables locally defined by this behaviour.|
Expand All @@ -32,7 +33,6 @@
| Relation | Origin | Opposite | Type | Comment |
|---|
| `annotationInstances` | `FamixTWithAnnotationInstances` | `annotatedEntity` | `FamixTAnnotationInstance` | This property corresponds to the set of annotations associated to the entity|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `declaredType` | `FamixTTypedEntity` | `typedEntities` | `FamixTType` | Type of the entity, if any|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
Expand Down
2 changes: 1 addition & 1 deletion src/Famix-Test1-Entities/FamixTest1Class.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This a comment for the Class entity
| Relation | Origin | Opposite | Type | Comment |
|---|
| `attributes` | `FamixTWithAttributes` | `parentType` | `FamixTAttribute` | List of attributes declared by this type.|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `methods` | `FamixTWithMethods` | `parentType` | `FamixTMethod` | Methods declared by this type.|
### Outgoing dependencies
Expand All @@ -30,7 +31,6 @@ This a comment for the Class entity
### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `declaredSourceLanguage` | `FamixTWithSourceLanguages` | `sourcedEntities` | `FamixTSourceLanguage` | The declared SourceLanguage for the source code of this entity|
| `receivingInvocations` | `FamixTInvocationsReceiver` | `receiver` | `FamixTInvocation` | List of invocations performed on this entity (considered as the receiver)|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
Expand Down
2 changes: 1 addition & 1 deletion src/Famix-Test1-Entities/FamixTest1Comment.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Relations
======================
### Other
### Parents
| Relation | Origin | Opposite | Type | Comment |
|---|
| `commentedEntity` | `FamixTComment` | `comments` | `FamixTWithComments` | Source code commented by the comment|
Expand Down
2 changes: 1 addition & 1 deletion src/Famix-Test1-Entities/FamixTest1Method.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
### Children
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `implicitVariables` | `FamixTWithImplicitVariables` | `parentBehaviouralEntity` | `FamixTImplicitVariable` | Implicit variables used locally by this behaviour.|
| `localVariables` | `FamixTWithLocalVariables` | `parentBehaviouralEntity` | `FamixTLocalVariable` | Variables locally defined by this behaviour.|
| `parameters` | `FamixTWithParameters` | `parentBehaviouralEntity` | `FamixTParameter` | List of formal parameters declared by this behaviour.|
Expand All @@ -29,7 +30,6 @@
### Other
| Relation | Origin | Opposite | Type | Comment |
|---|
| `comments` | `FamixTWithComments` | `commentedEntity` | `FamixTComment` | List of comments for the entity|
| `declaredSourceLanguage` | `FamixTWithSourceLanguages` | `sourcedEntities` | `FamixTSourceLanguage` | The declared SourceLanguage for the source code of this entity|
| `declaredType` | `FamixTTypedEntity` | `typedEntities` | `FamixTType` | Type of the entity, if any|
| `sourceAnchor` | `FamixTSourceEntity` | `element` | `FamixTSourceAnchor` | SourceAnchor entity linking to the original source code for this entity|
Expand Down
Loading

0 comments on commit 2b46060

Please sign in to comment.