Remove the pure attribute from @Contract

Closes gh-33820
This commit is contained in:
Sébastien Deleuze
2024-10-30 15:11:44 +01:00
parent da8925131e
commit 9166688b6f

View File

@@ -72,10 +72,4 @@ public @interface Contract {
* Contains the contract clauses describing causal relations between call arguments and the returned value.
*/
String value() default "";
/**
* Specifies if this method is pure, i.e. has no visible side effects. This may be used for more precise data flow analysis, and
* to check that the method's return value is actually used in the call place.
*/
boolean pure() default false;
}