Skip to content

Fix Javadoc warnings for Lombok-generated getters/setters in AdvancedCoreConfigOptions#253

Merged
BenCodez merged 4 commits intomasterfrom
copilot/fix-javadoc-warnings
Feb 15, 2026
Merged

Fix Javadoc warnings for Lombok-generated getters/setters in AdvancedCoreConfigOptions#253
BenCodez merged 4 commits intomasterfrom
copilot/fix-javadoc-warnings

Conversation

Copy link
Contributor

Copilot AI commented Feb 15, 2026

100 Javadoc warnings in AdvancedCoreConfigOptions.java from missing @return and @param tags on Lombok-generated methods.

Changes

  • Added @return and @param tags to field-level Javadoc for 55 fields using @Getter/@Setter annotations
  • Created lombok.config to enable @Generated annotations on Lombok-generated code

How it works

Lombok copies field Javadoc to generated methods, extracting only relevant tags:

/**
 * The YML configuration file handler.
 * @return the YML configuration file handler
 * @param ymlConfig the YML configuration file handler
 */
@Getter
@Setter
private YMLConfig ymlConfig;

Generates two methods with proper documentation:

  • getYmlConfig() receives only the @return tag
  • setYmlConfig(YMLConfig) receives only the @param tag

This resolves all 100 warnings in the target class.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits February 15, 2026 20:19
…/setters

Co-authored-by: BenCodez <17074231+BenCodez@users.noreply.github.com>
Co-authored-by: BenCodez <17074231+BenCodez@users.noreply.github.com>
Co-authored-by: BenCodez <17074231+BenCodez@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix missing Javadoc @return and @param tags Fix Javadoc warnings for Lombok-generated getters/setters in AdvancedCoreConfigOptions Feb 15, 2026
Copilot AI requested a review from BenCodez February 15, 2026 20:26
@BenCodez BenCodez marked this pull request as ready for review February 15, 2026 20:33
@BenCodez BenCodez merged commit 735a127 into master Feb 15, 2026
4 checks 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