public abstract class MethodInvocationTrap extends CodeVisitorSupport
| Constructor and description |
|---|
MethodInvocationTrap(ReaderSource source, SourceUnit sourceUnit) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
visitMethodCallExpression(MethodCallExpression call)Attempts to find AstBuilder 'from code' invocations. |
Attempts to find AstBuilder 'from code' invocations. When found, converts them into calls to the 'from string' approach.
call - the method call expression that may or may not be an AstBuilder 'from code' invocation.Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.