Static entities in MuranoPL
Static methods encapsulate algorithms that are not actions that can be performed on any specific object. For example there can be static method "getFreeSpace(
Static methods can access static properties (and cannot access instance properties). Static properties need to be stored in dedicated section of object model.
Entire classes can be marked static. Static classes cannot be instantiated and inherit by non-static classes. Thus static classes cannot be represented in object model (and cannot have ID)
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Medium
- Drafter:
- Stan Lagun
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- Accepted for mitaka
- Implementation:
-
Started
- Milestone target:
- None
- Started by
- Stan Lagun
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Support for static methods/properties
Gerrit topic: https:/