Skip to content

Commit

Permalink
Added FM3Property >> #isGenerated
Browse files Browse the repository at this point in the history
  • Loading branch information
anquetil committed Sep 27, 2024
1 parent a88af06 commit ffe868c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Fame-Core/FM3Property.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,16 @@ FM3Property >> isFM3Property [
^ true
]

{ #category : #accessing }
FM3Property >> isGenerated [
"Note: we do not meta describe this 'property' because it is not fully implemented
(no associated instance variable, no setter).
Actually this method was introduced to be able to identify this kind of 'property' which are
not 'real properties' "

^self compiledMethod pragmas anySatisfy: [ :p | p selector = #generated ]
]

{ #category : #accessing }
FM3Property >> isMultivalued [
<FMProperty: #multivalued type: #Boolean defaultValue: false>
Expand Down

0 comments on commit ffe868c

Please sign in to comment.