- org.codehaus.groovy.transform.stc.DefaultTypeCheckingExtension
-
The default type checking handler is used by the standard type checker and doesn't handle
any of the type checking errors by default. This just means that whenever a type checking
error is detected, there's no additional information available to the type checker that
could help it.
The default handler is also capable of handling a collection of delegate handlers. If a list
of delegates is set, then the type checker will try all the delegates until one is capable
of handling an error.
- Since:
- 2.1.0
-
-
Methods Summary
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class TypeCheckingExtension |
addStaticTypeError, afterMethodCall, afterVisitClass, afterVisitMethod, beforeMethodCall, beforeVisitClass, beforeVisitMethod, buildListType, buildMapType, classNodeFor, classNodeFor, existsProperty, existsProperty, extractStaticReceiver, finish, getArgumentTypes, getTargetMethod, getType, handleAmbiguousMethods, handleIncompatibleAssignment, handleIncompatibleReturnType, handleMissingMethod, handleUnresolvedAttribute, handleUnresolvedProperty, handleUnresolvedVariableExpression, isStaticMethodCallOnClass, lookupClassNodeFor, onMethodSelection, parameterizedType, setup, storeType |
-
-
Method Detail
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public void afterMethodCall(MethodCall call)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public void afterVisitClass(ClassNode node)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public void afterVisitMethod(MethodNode node)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public boolean beforeMethodCall(MethodCall call)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public boolean beforeVisitClass(ClassNode node)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public boolean beforeVisitMethod(MethodNode node)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public void finish()
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public boolean handleIncompatibleAssignment(ClassNode lhsType, ClassNode rhsType, Expression assignmentExpression)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public boolean handleIncompatibleReturnType(ReturnStatement returnStatement, ClassNode inferredReturnType)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public void onMethodSelection(Expression expression, MethodNode target)
-
@com.github.javaparser.ast.expr.MarkerAnnotationExprOverride
public void setup()
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.