HADOOP-17947. Additional element types for VisibleForTesting (ADDENDUM) (#3521)
(cherry picked from commit 783e4805e7
)
This commit is contained in:
parent
6f7b45641a
commit
fd3069d70c
|
@ -37,7 +37,7 @@ import java.lang.annotation.Target;
|
|||
* they MUST be re-scoped as public/limited private.
|
||||
*/
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD, ElementType.FIELD, ElementType.CONSTRUCTOR })
|
||||
@Documented
|
||||
public @interface VisibleForTesting {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue