Skip to content

Make not imported methods java->swift unavailable #228

Open
@ktoso

Description

@ktoso

Missing methods from javakit imports can be sometimes confusing when someone tries to "just use" the library emitted.

We should instead still emit methods, but make them unavailable:

warning: Unable to translate 'org.apache.commons.csv.CSVParser' method 'getRecords': Java class 'org.apache.commons.csv.CSVRecord' has not been translated into Swift

->

@available(*, unavailable, message: "Java class 'org.apache.commons.csv.CSVRecord' has not been translated into Swift")

etc

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions