A type checking extension that will take care of handling errors which are specific to traits. In particular, it will handle the "super" method calls within a trait.
Fields inherited from class | Fields |
---|---|
class AbstractTypeCheckingExtension |
context, debug, handled |
class TypeCheckingExtension |
typeCheckingVisitor |
Constructor and description |
---|
TraitTypeCheckingExtension
(StaticTypeCheckingVisitor typeCheckingVisitor) Builds a type checking extension relying on a Groovy script (type checking DSL). |
Type Params | Return Type | Name and description |
---|---|---|
|
List<MethodNode> |
handleMissingMethod(ClassNode receiver, String name, ArgumentListExpression argumentList, ClassNode[] argumentTypes, MethodCall call) |
|
void |
setup() |
Builds a type checking extension relying on a Groovy script (type checking DSL).
typeCheckingVisitor
- the type checking visitorCopyright © 2003-2019 The Apache Software Foundation. All rights reserved.