Skip to content

Automate API rules #900

@DavyLandman

Description

@DavyLandman

We have some APIs that we know should not be touched, (see developer.md) unless they're via one of our wrappers/translators that make it safe. For example ISourceLocation::toUri, or the supplyAsync without a exexutor.

Let's either:

  • see if we can extend checkstyle (that we already use)
  • write small rascal program that use java-air to check api patterns
  • see if we can use custom rules for error-prone to lock these down.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions