Skip to content

Add a pre-build step in order to mark certain core Vavr methods as @GwtIncompatible #16

@danieldietrich

Description

@danieldietrich

Hi,

with modularization, I want to get rid of the @GwtIncompatible annotations of the core Vavr lib.

Goal/Acceptance Criteria:

Let the GWT compiler know which methods are not compatible without using the @GwtIncompatible annotation(s) within the core Vavr library. For example this could be achieved by adding a pre-build step to the vavr-gwt Maven build.

See this Twitter conversation about how to use ByteBuddy to solve this issue.

In detail, I would suggest to explode the dependencies of vavr-gwt into the file system in a pre-build step. Furthermore we are able to rewrite/enhance the classes of our dependencies by dynamically annotating the according methods with vavr-gwt's own @GwtIncompatible annotation. After that, the GWT compiler is expected to work as desired.

I will add the list of methods later here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions