Skip to content

docs: document super method calls#295

Merged
magnus-madsen merged 1 commit intomasterfrom
docs/super-method-calls
Feb 25, 2026
Merged

docs: document super method calls#295
magnus-madsen merged 1 commit intomasterfrom
docs/super-method-calls

Conversation

@magnus-madsen
Copy link
Member

@magnus-madsen magnus-madsen commented Feb 25, 2026

Summary

  • Add a "Calling Super Methods" section to the Classes and Interfaces page (extending-classes-and-interfaces.md)
  • Documents the super.methodName(args) syntax for calling parent class method implementations when overriding methods in new expressions
  • Includes an example extending Thread that overrides toString using super.toString()

Test plan

  • mdbook build succeeds without errors
  • Visually inspect the rendered section for correctness

🤖 Generated with Claude Code

Add a "Calling Super Methods" section to the Classes and Interfaces page
explaining the super.methodName(args) syntax for calling parent class
method implementations when overriding methods in new expressions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@magnus-madsen magnus-madsen merged commit cac039b into master Feb 25, 2026
1 check passed
@magnus-madsen magnus-madsen deleted the docs/super-method-calls branch February 25, 2026 13:11
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.

1 participant