Skip to content

[Docs] Extend Javadoc coverage (warnings ~890 → 100)#289

Merged
Mere-Solace merged 1 commit into
devfrom
chore/javadoc-coverage-2-pr
Mar 28, 2026
Merged

[Docs] Extend Javadoc coverage (warnings ~890 → 100)#289
Mere-Solace merged 1 commit into
devfrom
chore/javadoc-coverage-2-pr

Conversation

@Mere-Solace

Copy link
Copy Markdown
Owner

Summary

  • Add class-level and method Javadoc to ~34 files across listeners, action classes, skill hierarchy, attack shapes, AI states, and utilities
  • Fix all actionable Javadoc warnings: missing @param/@return, empty comments, no-main-description, and undocumented default constructors
  • Add private BezierUtil() constructor (also suppresses FinalClass Checkstyle hint)
  • Total Javadoc warnings reduced from ~890 to 100 (remaining are undocumented fields in Config/Prefab — out of scope)

Test plan

  • ./gradlew check passes
  • ./gradlew javadoc shows no warnings outside "no comment" (undocumented fields)

- Add class Javadoc to WorldListener, EntityListener, ActionCaster,
  DashAttackAction, DashDirection, ConsumableActive, PassiveSkill
- Fix @Return-Only Javadoc in Skill interface (add full sentences)
- Fix AbilitySkill.abilityType() Javadoc (no main description warning)
- Add @param tags for record components: SkillId, BezierShape,
  ConeShape, ArcShape, CameraPath
- Fix InputAction.Builder empty /** */ comment
- Add @return tags to ArcShape/ConeShape factory methods
- Fix AnimationSlot.hasTag() missing @return
- Fix DrawUtil.circle() missing main description (had ~-style params)
- Fix constructor Javadoc in AbilityHistoryRepository,
  AbilityStateRepository, AspectRepository (no-main-desc warnings)
- Fix ArmorType.id() missing @return
- Add @param <T> to Config.ConfigEntry class-level Javadoc
- Add State.name() full-sentence Javadoc
- Add documented constructors to abstract/concrete classes that were
  using implicit default constructors: ActiveSkill, ActivatableAbility,
  ApproachState, AttackReadyState, AttackState, AttackingHeavyState,
  AttackingQuickState, AttackAction, ArenaManager
- Add private BezierUtil() constructor (also fixes utility class check)
- Add @param comboStep to AttackAction.basicAttack()
- Fix ActionCaster.cast() missing Javadoc
- Fix DashAttackAction class + method Javadoc
@Mere-Solace Mere-Solace added type: docs Documentation only size: m Medium, half a day to a day labels Mar 28, 2026
@Mere-Solace Mere-Solace self-assigned this Mar 28, 2026
@Mere-Solace Mere-Solace force-pushed the chore/javadoc-coverage-2-pr branch from 0f80909 to aa3d017 Compare March 28, 2026 04:52
@Mere-Solace Mere-Solace merged commit a2979c4 into dev Mar 28, 2026
1 check passed
@Mere-Solace Mere-Solace deleted the chore/javadoc-coverage-2-pr branch March 28, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: m Medium, half a day to a day type: docs Documentation only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant