-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ForbidDynamicProperties: minor tweaks
Thinking this over some more... The helper methods in this class will also be needed by the `DeprecateDynamicProperties` trait and possibly by more magic method helper traits if added in the future. Which means that in a future commit, they will probably be moved to a `DynamicPropertiesHelpers` trait which then will be `use`d by this trait. With that in mind, I'm: * Changing the property and method prefix from `fdp` (Forbidden Dynamic Properties) to `dpu` (Dynamic Properties Utils). * Removing the method and property which stored the `ReflectionProperty` instance to make the `isPropertyPublic()` and `isPropertyProtected()` methods self-contained. N.B.: This commit should be squashed into the first commit, but I didn't want to confuse potentially ongoing reviews..
- Loading branch information
Showing
1 changed file
with
32 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters