@return The note a semitone above this one.
()
| 196 | * @return The note a semitone above this one. |
| 197 | */ |
| 198 | @NotNull |
| 199 | public Note sharped() { |
| 200 | Validate.isTrue(note < 24, "This note cannot be sharped because it is the highest known note!"); |
| 201 | return new Note(note + 1); |
| 202 | } |
| 203 | |
| 204 | /** |
| 205 | * @return The note a semitone below this one. |
nothing calls this directly
no outgoing calls
no test coverage detected