JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Deprecated
Index
Search
Help
JUnit
org.junit.platform.commons
org.junit.platform.commons.annotation
Contract
Contents
Hide sidebar
❮
❯
Show sidebar
Description
Required Element Summary
Element Details
value
Annotation Interface Contract
@Documented
@Target
(
METHOD
)
@API
(
status
=
INTERNAL
,
since
="6.0")
public @interface
Contract
Specifies some aspects of the annotated method's behavior to be used by tools for data flow analysis.
Since:
6.0
See Also:
org.jetbrains.annotations.Contract
NullAway custom contract annotations
Required Element Summary
Required Elements
Modifier and Type
Required Element
Description
String
value
Contains the contract clauses describing causal relations between call arguments and the returned value.
Element Details
value
String
value
Contains the contract clauses describing causal relations between call arguments and the returned value.