Skip to content

Rename ObjectSourceExtension to SourceExtension - #315

Merged
em3s merged 1 commit into
mainfrom
refactor/rename-source-extension
May 11, 2026
Merged

em3s merged 1 commit into
mainfrom
refactor/rename-source-extension

Conversation

@zipdoki

@zipdoki zipdoki commented May 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #276.

Since #273, ObjectSourceExtension dispatches for both @ObjectSource and @TableSource, so the name no longer reflects the class's role. Rename it to a neutral name.

Changes

  • ObjectSourceExtension → SourceExtension
  • ObjectSourceInvocationContext → SourceInvocationContext
  • ObjectSourceParameterResolver → SourceParameterResolver
  • Update call sites: @ExtendWith(SourceExtension::class), TableSourceTest

How to Test

  • ./gradlew :core:test

AI Assistance

  • This PR was written largely with AI assistance.
    • Tool / model: Claude Code (Opus 4.7)

Since #273, ObjectSourceExtension dispatches for both @ObjectSource and
@TableSource, so the name no longer reflects the class's role. Rename
the extension and its helpers to neutral names.

Split from #273 to keep similarity above git's 50% rename-detection
threshold and preserve git blame after squash merge. Post-rename
similarity: SourceExtension 95%, SourceInvocationContext 84%,
SourceParameterResolver 98%.

- ObjectSourceExtension → SourceExtension
- ObjectSourceInvocationContext → SourceInvocationContext
- ObjectSourceParameterResolver → SourceParameterResolver
- Update call sites: @ExtendWith and TableSourceTest

closes #276

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@zipdoki zipdoki self-assigned this May 10, 2026
@zipdoki
zipdoki requested a review from em3s as a code owner May 10, 2026 14:35
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. maintenance Maintenance work. labels May 10, 2026
@zipdoki
zipdoki removed the request for review from em3s May 10, 2026 14:35
@em3s em3s changed the title refactor(test): rename ObjectSourceExtension to SourceExtension Rename ObjectSourceExtension to SourceExtension May 11, 2026
@em3s

em3s commented May 11, 2026

Copy link
Copy Markdown
Contributor

LGTM 👍

@em3s
em3s merged commit e050ed0 into main May 11, 2026
3 checks passed
@em3s
em3s deleted the refactor/rename-source-extension branch May 11, 2026 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Maintenance work. size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename ObjectSourceExtension now that it serves both @ObjectSource and @TableSource

2 participants