Skip to content

Commit

Permalink
Documentation improvements (#5822)
Browse files Browse the repository at this point in the history
  • Loading branch information
mernst authored May 1, 2023
1 parent 9c9238a commit 58cea05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@
@SubtypeOf(GuardedByUnknown.class) // TODO: Should @GuardSatisfied be in its own hierarchy?
public @interface GuardSatisfied {
/**
* The index on the GuardSatisfied polymorphic qualifier. Defaults to -1 so that the user can
* write any index starting from 0.
* The index on the GuardSatisfied polymorphic qualifier, if any. Defaults to -1 so that, if the
* user writes 0, that is different than writing no index. Writing no index is the usual case.
*
* @return the index on the GuardSatisfied polymorphic qualifier, or -1 if none
*/
int value() default -1;
}
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ protected AnnotationMirror leastUpperBoundInitialization(
}

/**
* Returns the least upper bound of two types.
* Returns the least upper bound of two Java basetypes (without annotations).
*
* @param a the first argument
* @param b the second argument
Expand Down

0 comments on commit 58cea05

Please sign in to comment.