-
Notifications
You must be signed in to change notification settings - Fork 741
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix '@' character in javadoc code snippets
See also unknown commit PiperOrigin-RevId: 511523970
- Loading branch information
Showing
10 changed files
with
99 additions
and
99 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,16 +26,16 @@ | |
* Annotation declaring that the target annotation is incompatible with any one of the provided | ||
* modifiers. For example, an annotation declared as: | ||
* | ||
* <pre> | ||
* {@literal @}IncompatibleModifiers(modifier = Modifier.PUBLIC) | ||
* {@literal @}interface MyAnnotation {} | ||
* <pre>{@code | ||
* @IncompatibleModifiers(modifier = Modifier.PUBLIC) | ||
* @interface MyAnnotation {} | ||
* </pre> | ||
* | ||
* <p>will be considered illegal when used as: | ||
* | ||
* <pre> | ||
* {@literal @}MyAnnotation public void foo() {} | ||
* </pre> | ||
* @MyAnnotation public void foo() {} | ||
* }</pre> | ||
* | ||
* @author [email protected] (Jige Yu) | ||
*/ | ||
|
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 |
---|---|---|
|
@@ -26,16 +26,16 @@ | |
* Annotation declaring that the target annotation requires all the specified modifiers. For | ||
* example, an annotation declared as: | ||
* | ||
* <pre> | ||
* {@literal @}RequiredModifiers(modifier = Modifier.PUBLIC) | ||
* {@literal @}interface MyAnnotation {} | ||
* </pre> | ||
* <pre>{@code | ||
* @RequiredModifiers(modifier = Modifier.PUBLIC) | ||
* @interface MyAnnotation {} | ||
* }</pre> | ||
* | ||
* <p>will be considered illegal when used on non-public elements such as: | ||
* | ||
* <pre> | ||
* {@literal @}MyAnnotation void foo() {} | ||
* </pre> | ||
* <pre>{@code | ||
* @MyAnnotation void foo() {} | ||
* }</pre> | ||
* | ||
* @author [email protected] (Jige Yu) | ||
*/ | ||
|
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
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
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
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
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
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
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
Oops, something went wrong.