@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Intercept
MethodIntercepter. The default interceptor is DefaultMethodIntercepter that simply prints
the time taken in nano seconds by the test method on the console. | Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends MethodIntercepter> |
interceptor
The
MethodInterceptor to use to intercept method calls. |
public abstract Class<? extends MethodIntercepter> interceptor
MethodInterceptor to use to intercept method calls.Copyright © 2014. All rights reserved.