Skip to content

Commit

Permalink
Example for @parameter on setter method
Browse files Browse the repository at this point in the history
Example for @parameter on setter method
  • Loading branch information
thnaeff authored Oct 7, 2023
1 parent af96a44 commit 8164e23
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,13 @@ <h2 id="_overview">1. Overview</h2>

@Parameter(names = "-debug", description = "Debug mode")
private boolean debug = false;

private Integer setterParameter;
@Parameter(names = "-setterParameter", description = "A parameter annotation on a setter method")
public void setParameter(Integer value) {
this.setterParameter = value;
}

}</code></pre>
</div>
</div>
Expand Down

0 comments on commit 8164e23

Please sign in to comment.