Skip to content

Commit

Permalink
Add FamixTShadowable>>#isShadowed
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc committed Oct 29, 2024
1 parent 93a42f0 commit 1dd5938
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Famix-Traits/FamixTShadowable.trait.st
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ FamixTShadowable classSide >> annotation [
^ self
]

{ #category : #testing }
FamixTShadowable >> isShadowed [

^ self shadowingEntity isNotNil
]

{ #category : #accessing }
FamixTShadowable >> shadowingEntity [
"Relation named: #shadowingEntity type: #FamixTShadower opposite: #shadowedEntity"
Expand Down

0 comments on commit 1dd5938

Please sign in to comment.