Package org.codehaus.groovy.transform.stc
package org.codehaus.groovy.transform.stc
-
ClassDescriptionCustom type checking extensions may extend this method in order to benefit from a lot of support methods.The default type checking handler is used by the standard type checker and doesn't handle any of the type checking errors by default.A type checking extension that will take care of handling errors which are specific to enums.This class is used to make extension methods lookup faster.Represents method nodes which are used by the static type checker to virtually add methods coming from
DGM-like
methods.Base class for type checking extensions written in Groovy.Event handler registration: setup Registers closure that runs after the type checker finishes initialization finish Registers closure that runs after the type checker completes type checking beforeVisitClass Registers closure that runs before type checking a class afterVisitClass Registers closure that runs after having finished the visit of a type checked class beforeVisitMethod Registers closure that runs before type checking a method body afterVisitMethod Registers closure that runs after type checking a method body beforeMethodCall Registers closure that runs before the type checker starts type checking a method call afterMethodCall Registers closure that runs once the type checker has finished type checking a method call methodNotFound Registers closure that runs when it fails to find an appropriate method for a method call ambiguousMethods Registers closure that runs when the type checker cannot choose between several candidate methods onMethodSelection Registers closure that runs when it finds a method appropriate for a method call unresolvedVariable Registers closure that runs when the type checker finds an unresolved variable unresolvedProperty Registers closure that runs when the type checker cannot find a property on the receiver unresolvedAttribute Registers closure that runs when the type checker cannot find an attribute on the receiver incompatibleAssignment Registers closure that runs when the type checker thinks that the right-hand side of an assignment is incompatible with the left-hand side incompatibleReturnType Registers closure that runs when the type checker thinks that a return value is incompatibe with the return type Expression categorization: isAnnotationConstantExpression Determines if argument is anAnnotationConstantExpression
isArgumentListExpression Determines if argument is anArgumentListExpression
isArrayExpression Determines if argument is anArrayExpression
isAttributeExpression Determines if argument is anAttributeExpression
isBinaryExpression Determines if argument is aBinaryExpression
isBitwiseNegationExpression Determines if argument is aBitwiseNegationExpression
isBooleanExpression Determines if argument is aBooleanExpression
isCastExpression Determines if argument is aCastExpression
isClassExpression Determines if argument is aClassExpression
isClosureExpression Determines if argument is aClosureExpression
isConstantExpression Determines if argument is aConstantExpression
isConstructorCallExpression Determines if argument is aConstructorCallExpression
isDeclarationExpression Determines if argument is aDeclarationExpression
isElvisOperatorExpression Determines if argument is anElvisOperatorExpression
isEmptyExpression Determines if argument is anEmptyExpression
isFieldExpression Determines if argument is aFieldExpression
isGStringExpression Determines if argument is aGStringExpression
isLambdaExpression Determines if argument is aLambdaExpression
isListExpression Determines if argument is aListExpression
isMapExpression Determines if argument is aMapExpression
isMapEntryExpression Determines if argument is aMapEntryExpression
isMethodCallExpression Determines if argument is aMethodCallExpression
isMethodPointerExpression Determines if argument is aMethodPointerExpression
isMethodReferenceExpression Determines if argument is aMethodReferenceExpression
isNamedArgumentListExpression Determines if argument is aNamedArgumentListExpression
isNotExpression Determines if argument is aNotExpression
isPostfixExpression Determines if argument is aPostfixExpression
isPrefixExpression Determines if argument is aPrefixExpression
isPropertyExpression Determines if argument is aPropertyExpression
isRangeExpression Determines if argument is aRangeExpression
isSpreadExpression Determines if argument is aSpreadExpression
isSpreadMapExpression Determines if argument is aSpreadMapExpression
isStaticMethodCallExpression Determines if argument is aStaticMethodCallExpression
isTernaryExpression Determines if argument is aTernaryExpression
isTupleExpression Determines if argument is aTupleExpression
isUnaryMinusExpression Determines if argument is aUnaryMinusExpression
isUnaryPlusExpression Determines if argument is aUnaryPlusExpression
isVariableExpression Determines if argument is aVariableExpression
General utility: Delegates toAbstractTypeCheckingExtension
Imports static members ofClassHelper
Imports static members ofStaticTypeCheckingSupport
Receiver<T>A visitor which collects the list of variable expressions which are closure shared.A signature codec is responsible for encoding and decoding of inferred returned types as stored in bytecode.First implementation of an inferred type signature codec.Support methods forStaticTypeCheckingVisitor
.A DGM-like class which adds support for method calls which are handled specifically by the Groovy compiler.The main class code visitor responsible for static type checking.This enumeration is used by the AST transformations which rely on static type checking, either to store or to retrieve information from AST node metadata.A type checking extension that will take care of handling errors which are specific to traits.Represents the context of an enclosing closure.This interface defines a high-level API for handling type checking errors.