Skip to content

Allow interfaces to be also annotated with external refinements#244

Merged
CatarinaGamboa merged 2 commits into
mainfrom
interface-external
Jun 8, 2026
Merged

Allow interfaces to be also annotated with external refinements#244
CatarinaGamboa merged 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
@CatarinaGamboa CatarinaGamboa merged commit 9b3276e into main Jun 8, 2026
1 check passed
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