Skip to content

Allow interfaces to be also annotated with external refinements#244

Open
CatarinaGamboa wants to merge 2 commits into
mainfrom
interface-external
Open

Allow interfaces to be also annotated with external refinements#244
CatarinaGamboa wants to merge 2 commits into
mainfrom
interface-external

Conversation

@CatarinaGamboa
Copy link
Copy Markdown
Collaborator

Description

Before, if we had interfaces as the external libraries that we were targeting, we would get no verification.
Now we support that.

Example

Ignored before, now its okay.

@StateSet({ "hasMore", "inNext", "notInNext" })
@ExternalRefinementsFor("java.util.Iterator") // Iterator is an Interface
public interface IteratorRefinements<N> {

Related Issue

[Reference any related issue]

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • Code refactoring

Checklist

  • Added/updated tests under liquidjava-example/src/main/java/testSuite/ (Correct* / Error*)
  • mvn test passes locally
  • Updated docs/README if behavior or API changed

@CatarinaGamboa CatarinaGamboa changed the title allow interfaces to be also annotated with external refinements Allow interfaces to be also annotated with external refinements Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants