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
Closureclasses for the annotation closures.ThisBaseVisitorwalks up the class hierarchy for the givenClassNodeand addsContractElementannotations to method parameters.Visits annotations of meta-typeContractElementand applies the AST transformations of the underlyingAnnotationProcessorimplementation.Holds all constants to be used as AST node metadata keys.Base class forClassCodeVisitorSupportdescendants.Makes some initialization in order to use theConfiguratorfor determining which assertions in what packages will be executed.Checks whether the givenClassNodeis relevant for further processing.Implements contract support for setter methods and default constructors of POGOs.AST transformation visitor which is triggered after applyingAnnotationProcessorrelated transformations.AST transformation visitor which is triggered before applyingAnnotationProcessorrelated transformations.