@CodeReview(reviewer="Kevin R. Dixon", date="2008-02-08", changesNeeded=true, comments={"Not sure about the Documented or Runtime Retention annotations for the class. Please review.","Otherwise, class looks fine."}, response=@CodeReviewResponse(respondent="Justin Basilico",date="2008-02-18",moreChangesNeeded=false,comments={"Runtime retention means that we could look via reflection to see what has been code reviewed.","Documented makes the review show up in the documentation."})) @Documented @Retention(value=RUNTIME) public @interface CodeReviews
CodeReviews
annotation defines a container for one or more
CodeReview
annotations. This container annotation is needed because
Java allows only one instance of an annotations per element.Modifier and Type | Required Element and Description |
---|---|
CodeReview[] |
reviews
One or more
CodeReview annotations. |
public abstract CodeReview[] reviews
CodeReview
annotations.CodeReview
annotations.