Skip to content

Update Annotations Javadocs#144

Merged
rcosta358 merged 3 commits intomainfrom
api-documentation
Feb 13, 2026
Merged

Update Annotations Javadocs#144
rcosta358 merged 3 commits intomainfrom
api-documentation

Conversation

@rcosta358
Copy link
Collaborator

This PR improves the documentation of the API annotations.

@rcosta358 rcosta358 self-assigned this Feb 9, 2026
Copy link
Collaborator

@CatarinaGamboa CatarinaGamboa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's improve some of the documentation. Think of this as a developer that does not want to go outside the editor to understand how something works so they'll just read what shows in the documentation.

Copy link
Collaborator

@CatarinaGamboa CatarinaGamboa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments left to improve examples and not have examples if we don't want people using them that way

* }
* </pre>
*/
public String value();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not public?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intellij gave me a warning saying that methods in interfaces are always public so that's redundant

import liquidjava.specification.StateRefinement;

@Ghost("boolean opened")
@Ghost(value="boolean opened")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why value = ?? just to show its possible?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude probably changed that when I asked it to format the Javadocs in the annotations 😂

@rcosta358 rcosta358 merged commit dd5083c into main Feb 13, 2026
1 check passed
@rcosta358 rcosta358 deleted the api-documentation branch February 13, 2026 22:01
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