Project

General

Profile

Improvement #2066

Make X type-safely extensible

Added by Henning Blohm almost 4 years ago. Updated about 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.
#1

Updated by Henning Blohm about 3 years ago

  • Target version changed from 2.9 to TBD

Also available in: Atom PDF