-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌟 Add new annotation, ReadAsList ((#7).
- Loading branch information
1 parent
c47fbcf
commit 8ae8591
Showing
2 changed files
with
26 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
retrosheet/src/main/kotlin/com/github/theapache64/retrosheet/core/ReadAsList.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.github.theapache64.retrosheet.core | ||
|
||
/** | ||
* To tell Retrosheet that the method expects List/multiple items | ||
*/ | ||
@MustBeDocumented | ||
@Target(AnnotationTarget.FUNCTION) | ||
@Retention | ||
annotation class ReadAsList |