Skip to content

docs: document treatment of final fields - #66

Merged
wadoon merged 1 commit into
masterfrom
docs/final-fields
Nov 22, 2026
Merged

wadoon merged 1 commit into
masterfrom
docs/final-fields

Conversation

@wadoon

@wadoon wadoon commented Nov 16, 2026

Copy link
Copy Markdown
Member

Summary

  • Add a new User Guide page, Treatment of Final Fields, explaining the immutable treatment introduced in KeY 3.0.
  • Cover the finalFields taclet option (immutable default / onHeap legacy), the constructor restrictions KeY enforces, static and ghost fields, the inlining interaction, and how final vs. select terms are printed.
  • Link the page from the User Guide index.

Fixes #44.

Validation

  • make build succeeds.
  • make check (offline link check) reports 0 errors.

Notes

  • The page intentionally omits case-study statistics and a not-yet-published journal article; it references PR #3495 and the KeY 3.0 release notes instead.

Add a user-guide page for KeY's immutable final-field treatment (KeY 3.0):
the finalFields taclet option (immutable/onHeap), constructor restrictions,
static and ghost fields, the inlining interaction, and how final vs. select
terms are printed. Link the page from the User Guide index.

Refs #44
@wadoon
wadoon merged commit 2b3bee6 into master Nov 22, 2026
2 checks passed
@wadoon
wadoon deleted the docs/final-fields branch November 22, 2026 18:46
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.

Documentation for Treatment of Final Fields

1 participant