Skip to content

Add Javadoc documentation to public API #13

Closed

Description

@szkiba

Add Javadoc documentation to all public APIs to improve developer experience and enable automated documentation generation.

Background

The ini4j library currently lacks consistent Javadoc comments across its public API surface. This makes it difficult for developers to understand how to use the library without diving into source code or relying solely on external documentation.

Scope

Add Javadoc comments to all public classes, interfaces, methods, and constructors in the main API:

  • Core classes (Ini, Options, Reg, Wini, Config)
  • Public interfaces (Persistable, Configurable, Profile, Section, OptionMap, Registry)
  • Base implementations (BasicProfile, BasicProfileSection, BasicOptionMap)
  • Exception classes (InvalidFileFormatException, CircularReferenceException)

Requirements

  • Use standard Javadoc tags: @param, @return, @throws, @deprecated, @since
  • Include @code examples for complex APIs
  • Document thread-safety characteristics where relevant
  • Link related classes/methods with @see and @link

Benefits

  • Improved IDE autocomplete and inline documentation
  • Enables Maven javadoc:javadoc goal to generate API docs
  • Better developer onboarding and API discoverability
  • Supports future API versioning and deprecation tracking
  • Professional library documentation standard

Non-Goals

  • Internal/package-private implementation details (keep those as standard comments)
  • Test classes (standard comments sufficient)

Activity

  1. self-assigned this
    on Feb 2, 2026
  2. pushkarmishra-cyber commented on Mar 12, 2026

    @pushkarmishra-cyber

    @szkiba We are waiting to consume the fix, it would be great if you can share a availability date for this version 0.6.0

  3. szkiba commented on Mar 14, 2026

    @szkiba
    ContributorAuthor

    Within a few weeks.

  4. added a commit that references this issue on Nov 16, 2026
  5. szkiba commented on Nov 16, 2026

    @szkiba
    ContributorAuthor

    Closed by #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions