| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -43,7 +43,8 @@ | |||
| 43 | 43 | * <p> | |
| 44 | 44 | * Usage guidelines: | |
| 45 | 45 | * <ol> | |
| 46 | - * <li>This annotation is used only on public APIs. Internal interfaces should not use it.</li> | ||
| 46 | + * <li>This annotation is used only on APIs with public visibility. Internal interfaces should | ||
| 47 | + * not use it.</li> | ||
| 47 | 48 | * <li>This annotation should only be added to new APIs. Adding it to an existing API is considered | |
| 48 | 49 | * API-breaking.</li> | |
| 49 | 50 | * <li>Removing this annotation from an API gives it stable status.</li> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -37,8 +37,13 @@ | |||
| 37 | 37 | import java.lang.annotation.Target; | |
| 38 | 38 | ||
| 39 | 39 | /** | |
| 40 | - * Annotates a program element (class, method, package etc) which is internal to GAX, not part of | ||
| 41 | - * the public API, and should not be used by users of GAX. | ||
| 40 | + * Annotates a program element (class, method, package etc) which is internal to its | ||
| 41 | + * containing library, not part of the public API, and should not be used by users of | ||
| 42 | + * the library. | ||
| 43 | + * | ||
| 44 | + * This annotation should be used only on APIs with public visibility. Its existence | ||
| 45 | + * is necessary because Java does not have a visibility level for code within a | ||
| 46 | + * compilation unit. | ||
| 42 | 47 | */ | |
| 43 | 48 | @BetaApi | |
| 44 | 49 | @Retention(RetentionPolicy.SOURCE) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments