Skip to content

Commit

Permalink
Fix a few Javadoc issues (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ao-senXiong authored Jan 28, 2025
1 parent a014022 commit ccfbe4b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ protected DependentTypesHelper createDependentTypesHelper() {

/**
* The Substring Index qualifier hierarchy. The hierarchy consists of a top element {@link
* UNKNOWN} of type {@link SubstringIndexUnknown}, bottom element {@link BOTTOM} of type {@link
* SubstringIndexBottom}, and elements of type {@link SubstringIndexFor} that follow the
* #UNKNOWN} of type {@link SubstringIndexUnknown}, bottom element {@link #BOTTOM} of type
* {@link SubstringIndexBottom}, and elements of type {@link SubstringIndexFor} that follow the
* subtyping relation of {@link UBQualifier}.
*/
private final class SubstringIndexQualifierHierarchy extends ElementQualifierHierarchy {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public int hashCode() {
/**
* Returns a representation of this diagnostic as if it appeared in a diagnostics file. This
* uses only the base file name, not the full path, and only the message key, not the full
* message. Field {@link messageKeyParens} influences whether the message key is output in
* message. Field {@link #messageKeyParens} influences whether the message key is output in
* parentheses.
*
* @return a representation of this diagnostic as if it appeared in a diagnostics file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private enum FluentAPIGenerators {
/**
* The qualified name of the AutoValue Builder annotation. This needs to be constructed
* dynamically due to a side effect of the shadow plugin. See {@link
* getAutoValueBuilderCanonicalName()} for more information.
* #getAutoValueBuilderCanonicalName()} for more information.
*/
private final String AUTO_VALUE_BUILDER = getAutoValueBuilderCanonicalName();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2070,7 +2070,7 @@ private void annotateTypeParameters(
* zero or more mappings. Each mapping is from an element that {@code member} would override to
* {@code member}.
*
* <p>This method does not read or write field {@link annotationFileAnnos}.
* <p>This method does not read or write field {@link #annotationFileAnnos}.
*
* @param elementsToDecl the mapping that is side-effected by this method
* @param fakeOverrideDecls fake overrides, also side-effected by this method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* ElementQualifierHierarchy} (but <em>not</em> {@link MostlyNoElementQualifierHierarchy}) to
* implement methods that compare {@link javax.lang.model.element.AnnotationMirror}s, such as {@link
* org.checkerframework.framework.type.QualifierHierarchy#isSubtypeShallow(AnnotationMirror,
* TypeMirror, AnnotationMirror, TypeMirror)}.
* javax.lang.model.type.TypeMirror, AnnotationMirror, javax.lang.model.type.TypeMirror)}.
*
* @see DefaultQualifierKindHierarchy
* @see org.checkerframework.framework.util.DefaultQualifierKindHierarchy.DefaultQualifierKind
Expand Down

0 comments on commit ccfbe4b

Please sign in to comment.