Methods
| Type |
Name and description |
void |
afterMethodCall(MethodCall call)
|
void |
afterVisitClass(ClassNode node)
|
void |
afterVisitMethod(MethodNode node)
|
boolean |
argTypeMatches(ClassNode[] argTypes, int index, Class clazz)
|
boolean |
argTypeMatches(MethodCall call, int index, Class clazz)
|
boolean |
argTypesMatches(ClassNode[] argTypes, Class... classes)
|
boolean |
argTypesMatches(MethodCall call, Class... classes)
|
boolean |
beforeMethodCall(MethodCall call)
|
boolean |
beforeVisitClass(ClassNode node)
|
boolean |
beforeVisitMethod(MethodNode node)
|
void |
delegatesTo(ClassNode type)
|
void |
delegatesTo(ClassNode type, int strategy)
|
void |
delegatesTo(ClassNode type, int strategy, DelegationMetadata parent)
|
void |
finish()
|
boolean |
firstArgTypesMatches(ClassNode[] argTypes, Class... classes)
|
boolean |
firstArgTypesMatches(MethodCall call, Class... classes)
|
ArgumentListExpression |
getArguments(MethodCall call)
|
GroovyTypeCheckingExtensionSupport.TypeCheckingScope |
getCurrentScope()
|
BinaryExpression |
getEnclosingBinaryExpression()
|
List |
getEnclosingBinaryExpressionStack()
|
ClassNode |
getEnclosingClassNode()
|
List |
getEnclosingClassNodes()
|
EnclosingClosure |
getEnclosingClosure()
|
List |
getEnclosingClosureStack()
|
MethodNode |
getEnclosingMethod()
|
Expression |
getEnclosingMethodCall()
|
List |
getEnclosingMethodCalls()
|
List |
getEnclosingMethods()
|
List |
handleAmbiguousMethods(List nodes, Expression origin)
|
boolean |
handleIncompatibleAssignment(ClassNode lhsType, ClassNode rhsType, Expression assignmentExpression)
|
boolean |
handleIncompatibleReturnType(ReturnStatement returnStatement, ClassNode inferredReturnType)
|
List |
handleMissingMethod(ClassNode receiver, String name, ArgumentListExpression argumentList, ClassNode[] argumentTypes, MethodCall call)
|
boolean |
handleUnresolvedAttribute(AttributeExpression aexp)
|
boolean |
handleUnresolvedProperty(PropertyExpression pexp)
|
boolean |
handleUnresolvedVariableExpression(VariableExpression vexp)
|
boolean |
isAnnotatedBy(ASTNode node, Class annotation)
|
boolean |
isAnnotatedBy(ASTNode node, ClassNode annotation)
|
boolean |
isDynamic(VariableExpression var)
|
boolean |
isExtensionMethod(MethodNode node)
|
boolean |
isGenerated(MethodNode node)
|
boolean |
isMethodCall(Object o)
|
void |
log(String message)
|
MethodNode |
makeDynamic(MethodCall call)
|
MethodNode |
makeDynamic(MethodCall call, ClassNode returnType)
|
void |
makeDynamic(PropertyExpression pexp) Instructs the type checker that a property access is dynamic, returning an instance of an Object.
|
void |
makeDynamic(PropertyExpression pexp, ClassNode returnType)
|
void |
makeDynamic(VariableExpression vexp) Instructs the type checker that an unresolved variable is a dynamic variable of type Object.
|
void |
makeDynamic(VariableExpression vexp, ClassNode returnType)
|
MethodNode |
newMethod(String name, Class returnType)
|
MethodNode |
newMethod(String name, ClassNode returnType)
|
MethodNode |
newMethod(String name, Callable returnType)
|
GroovyTypeCheckingExtensionSupport.TypeCheckingScope |
newScope()
|
GroovyTypeCheckingExtensionSupport.TypeCheckingScope |
newScope(Closure code)
|
void |
onMethodSelection(Expression expression, MethodNode target)
|
BinaryExpression |
popEnclosingBinaryExpression()
|
ClassNode |
popEnclosingClassNode()
|
EnclosingClosure |
popEnclosingClosure()
|
MethodNode |
popEnclosingMethod()
|
Expression |
popEnclosingMethodCall()
|
void |
popTemporaryTypeInfo()
|
void |
pushEnclosingBinaryExpression(BinaryExpression binaryExpression)
|
void |
pushEnclosingClassNode(ClassNode classNode)
|
void |
pushEnclosingClosureExpression(ClosureExpression closureExpression)
|
void |
pushEnclosingMethod(MethodNode methodNode)
|
void |
pushEnclosingMethodCall(Expression call)
|
void |
pushTemporaryTypeInfo()
|
GroovyTypeCheckingExtensionSupport.TypeCheckingScope |
scopeExit()
|
GroovyTypeCheckingExtensionSupport.TypeCheckingScope |
scopeExit(Closure code)
|
void |
setDebug(boolean debug)
|
void |
setHandled(boolean handled)
|
void |
setup()
|
List |
unique(MethodNode node)
|
R |
withTypeChecker(Closure code)
|