Skip to content

Java inheritance #74

@uvlad7

Description

@uvlad7

And support - if not supported yet - and tests.
The best way, I believe, is to make Rust wrapper of a child java class a NewType for a Rust wrapper of the according Java ancestor, with Deref trait implemented. It won't work exactly like in Java - with virtual methods - but it'll allow to call ancestor's methods from the descendant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions