diff --git a/src/Famix-Value-Entities-Extensions/FamixValueUnknownType.extension.st b/src/Famix-Value-Entities-Extensions/FamixValueUnknownType.extension.st index 85d6b3e..a857f57 100644 --- a/src/Famix-Value-Entities-Extensions/FamixValueUnknownType.extension.st +++ b/src/Famix-Value-Entities-Extensions/FamixValueUnknownType.extension.st @@ -30,6 +30,12 @@ FamixValueUnknownType >> isPrimitiveType [ ^ false ] +{ #category : #'*Famix-Value-Entities-Extensions' } +FamixValueUnknownType >> methods [ + + ^ { } +] + { #category : #'*Famix-Value-Entities-Extensions' } FamixValueUnknownType >> typeName [ diff --git a/src/Famix-Value-Importer/FamixJavaEntityFinder.class.st b/src/Famix-Value-Importer/FamixJavaEntityFinder.class.st index c688b04..da00bab 100644 --- a/src/Famix-Value-Importer/FamixJavaEntityFinder.class.st +++ b/src/Famix-Value-Importer/FamixJavaEntityFinder.class.st @@ -46,8 +46,8 @@ FamixJavaEntityFinder >> parseTypeName: name [ ifTrue: [ "Search by translating the type name to a mooseName." self findTypeWithMooseName: ((typeName allButLast: dimensions * 2) - copyWithRegex: '\.|\$' - matchesReplacedWith: '::') ]. + copyReplaceAll: '.' + with: '::') ]. ^ dimensions > 0 ifFalse: [ type ] ifTrue: [