@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Contract
For example
@Contract( Foo.class ) public class FooT {...}
Declares FooT as a contract test for Foo| Modifier and Type | Required Element and Description |
|---|---|
java.lang.Class<?> |
value
The class that the annotated class is the contract test for.
|
Copyright © 2013-2018 XENEI.com. All Rights Reserved.