HADOOP-17947. Additional element types for VisibleForTesting (ADDENDUM) (#3521)

(cherry picked from commit 783e4805e7)
This commit is contained in:
Viraj Jasani 2021-10-05 22:47:05 +05:30 committed by Takanobu Asanuma
parent 6f7b45641a
commit fd3069d70c
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ import java.lang.annotation.Target;
* they MUST be re-scoped as public/limited private. * they MUST be re-scoped as public/limited private.
*/ */
@Retention(RetentionPolicy.CLASS) @Retention(RetentionPolicy.CLASS)
@Target({ ElementType.TYPE, ElementType.METHOD }) @Target({ ElementType.TYPE, ElementType.METHOD, ElementType.FIELD, ElementType.CONSTRUCTOR })
@Documented @Documented
public @interface VisibleForTesting { public @interface VisibleForTesting {
} }