Page MenuHomePhabricator

eolian: Add @static to classes
Needs ReviewPublic

Authored by felipealmeida on Mon, Aug 5, 1:23 PM.

Details

Summary

Allow classes to be defined as @static, meaning they should be used as
a namespace for @class methods and properties.

Events are allowed to be defined in a @static class because an event
defined in one class can be used by other classes.

Diff Detail

Repository
rEFL core/efl
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 12576
Build 9060: arc lint + arc unit
felipealmeida created this revision.Mon, Aug 5, 1:23 PM
felipealmeida requested review of this revision.Mon, Aug 5, 1:23 PM

I think you also want to ensure that no class ever inherits from such a static class, additionally, you also want to check that this class never inherits i think ?