Package com.google.caliper
Annotation Type BeforeExperiment
-
@Target(METHOD) @Retention(RUNTIME) public @interface BeforeExperiment
An annotation for methods to be run before an experiment has been performed.- See Also:
AfterExperiment
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<? extends Annotation>valueA qualifier for which types of experiments this method should run.
-
-
-
Element Detail
-
value
Class<? extends Annotation> value
A qualifier for which types of experiments this method should run. For example, annotating a method with@BeforeExperiment(Benchmark.class)will cause it to only run forBenchmarkexperiments. By default, annotated methods run for all experiments.- Default:
- com.google.caliper.All.class
-
-