diff --git a/src/Famix-Value-Exporter/FamixValueOfEnum.extension.st b/src/Famix-Value-Exporter/FamixValueOfEnum.extension.st index c085871..6b9afb4 100644 --- a/src/Famix-Value-Exporter/FamixValueOfEnum.extension.st +++ b/src/Famix-Value-Exporter/FamixValueOfEnum.extension.st @@ -10,6 +10,6 @@ FamixValueOfEnum >> accept: visitor [ FamixValueOfEnum >> asFASTJavaExpressionOn: visitor [ ^ visitor model newClassProperty - type: (visitor makeClassTypeExpression: self type); + type: (visitor makeClassTypeExpression: self type name); fieldName: self value name ]