HADOOP-17947. Additional element types for VisibleForTesting (ADDENDUM) (#3521)
(cherry picked from commit 783e4805e7
)
This commit is contained in:
parent
ce30f796f6
commit
28d4affea0
|
@ -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 {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue