Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions Moose-Blueprint-Models/FamixJavaMethod.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ FamixJavaMethod >> isExternal [
^ self isPublic
]

{ #category : '*Moose-Blueprint-Models' }
FamixJavaMethod >> isInitializer [

^ self isConstructor
]

{ #category : '*Moose-Blueprint-Models' }
FamixJavaMethod >> isInternal [

Expand Down
8 changes: 3 additions & 5 deletions Moose-Blueprint-Models/FamixTMethod.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,10 @@ FamixTMethod >> isTestInternalImplementation [

| invocationSources |
self parentType isTestCase ifFalse: [ ^ false ].
invocationSources := self incomingInvocations collect: [ :each |
each source ].
invocationSources := self incomingInvocations collect: #source.

^ (invocationSources isNotEmpty and: [
invocationSources allSatisfy: [ :i |
i parentType = self parentType ] ]) or: [ self isTestInternal ]
^ (invocationSources isNotEmpty and: [ invocationSources allSatisfy: [ :invocationSource | invocationSource parentType = self parentType ] ]) or: [
self isTestInternal ]
]

{ #category : '*Moose-Blueprint-Models' }
Expand Down