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

This commit is contained in:
Viraj Jasani 2021-10-05 22:47:05 +05:30 committed by GitHub
parent 84f10fd78b
commit 783e4805e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@
* 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 {
} }