All Downloads are FREE. Search and download functionalities are using the official Maven repository.

by.stub.annotations.VisibleForTesting Maven / Gradle / Ivy

There is a newer version: 3.3.0
Show newest version
package by.stub.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * An annotation that indicates that the visibility of a type or member has been relaxed to make the code testable.
 * Inspired by @VisibleForTesting from Google's Guava library
 */
@Retention(RetentionPolicy.CLASS)
@Target({ElementType.TYPE, ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.FIELD})
public @interface VisibleForTesting {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy