Project

General

Profile

Improvement #2066

Make X type-safely extensible

Added by Henning Blohm over 4 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
z2-core
Target version:
Start date:
02.05.2020
Due date:
% Done:

0%

Estimated time:
origin:

Description

Currently, extending X harms the fluid syntax capability w.r.t. the extender.

This can be fixed by

  • changing X to X<Y extends X>
  • adding a

protected abstract Class&lt;U&gt; clz();
  • and by generally returning

clz().cast(this)

that that this .

Acceptance Criteria

  • Make it so.

Also available in: Atom PDF