Skip to content

Commit 7261fd5

Browse files
authored
Make @PreviewApi a documented annotation. (#3976)
We want methods annotated with @PreviewApi to include it in their javadoc.
1 parent af2a520 commit 7261fd5

File tree

1 file changed

+2
-0
lines changed
  • firebase-annotations/src/main/java/com/google/firebase/annotations

1 file changed

+2
-0
lines changed

firebase-annotations/src/main/java/com/google/firebase/annotations/PreviewApi.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
package com.google.firebase.annotations;
1616

17+
import java.lang.annotation.Documented;
1718
import java.lang.annotation.ElementType;
1819
import java.lang.annotation.Target;
1920

@@ -23,4 +24,5 @@
2324
* API stability or backward-compatibility.
2425
*/
2526
@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.CONSTRUCTOR})
27+
@Documented
2628
public @interface PreviewApi {}

0 commit comments

Comments
 (0)