Annotation Type Contract
-
@Documented @Target(METHOD) public @interface ContractSpecifies some aspects of the annotated method's behavior to be used by tools for data flow analysis.- Since:
- 3.27.4
- See Also:
- org.jetbrains.annotations.Contract, NullAway custom contract annotations
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueContains the contract clauses describing causal relations between call arguments and the returned value.
-