Package org.apache.groovy.contracts.ast.visitor
package org.apache.groovy.contracts.ast.visitor
-
ClassDescriptionVisits interfaces & classes and looks for @Requires or @Ensures and creates
Closure
classes for the annotation closures.ThisBaseVisitor
walks up the class hierarchy for the givenClassNode
and addsContractElement
annotations to method parameters.Visits annotations of meta-typeContractElement
and applies the AST transformations of the underlyingAnnotationProcessor
implementation.Holds all constants to be used as AST node metadata keys.Base class forClassCodeVisitorSupport
descendants.Makes some initialization in order to use theConfigurator
for determining which assertions in what packages will be executed.Checks whether the givenClassNode
is relevant for further processing.Implements contract support for setter methods and default constructors of POGOs.AST transformation visitor which is triggered after applyingAnnotationProcessor
related transformations.AST transformation visitor which is triggered before applyingAnnotationProcessor
related transformations.