We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1198afd + 4ead467 commit 6e34e52Copy full SHA for 6e34e52
src/Famix-Traits/FamixTParametricEntity.trait.st
@@ -71,13 +71,11 @@ FamixTParametricEntity >> addGenericParameter: anObject [
71
{ #category : #accessing }
72
FamixTParametricEntity >> allTypeParameters [
73
74
- | collection |
75
- collection := OrderedCollection new:
76
- self concreteParameters + self genericParameters size.
77
- collection
78
- addAll: self concreteParameters;
79
- addAll: self genericParameters.
80
- ^ collection
+ ^ (OrderedCollection new:
+ self concreteParameters size + self genericParameters size)
+ addAll: self concreteParameters;
+ addAll: self genericParameters;
+ yourself
81
]
82
83
0 commit comments