- org.apache.groovy.contracts.ast.ModifiesEnsuresValidationTransformation
-
- All Implemented Interfaces and Traits:
- ASTTransformation
public class ModifiesEnsuresValidationTransformation
extends Object
implements ASTTransformation
Validates that @Ensures postconditions on a method only reference
fields via old.xxx that are declared as modifiable by @Modifies.
Runs at CompilePhase.INSTRUCTION_SELECTION after both:
Then simply compares the two metadata sets.
- Since:
- 6.0.0
- See Also:
- Modifies
-
-
Methods Summary
-
Inherited Methods Summary
- Summary:
Nested Field Constructor - Method
- | Detail:
Field Constructor - Method
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.