public class StaticInvocationWriter extends InvocationWriter
Fields inherited from class | Fields |
---|---|
class InvocationWriter |
castToVargsArray, invokeClosureMethod, invokeMethod, invokeMethodOnCurrent, invokeMethodOnSuper, invokeStaticMethod |
Constructor and description |
---|
StaticInvocationWriter
(WriterController wc) |
Type Params | Return Type | Name and description |
---|---|---|
|
public MethodCallExpression |
getCurrentCall() |
|
protected static boolean |
isPrivateBridgeMethodsCallAllowed(ClassNode receiver, ClassNode caller) |
|
protected void |
loadArguments(List<Expression> argumentList, Parameter[] para) |
|
protected boolean |
makeCachedCall(Expression origin, ClassExpression sender, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis, boolean containsSpreadExpression) |
|
public void |
makeCall(Expression origin, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis) |
|
protected boolean |
makeDirectCall(Expression origin, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean implicitThis, boolean containsSpreadExpression) |
|
protected boolean |
tryBridgeMethod(MethodNode target, Expression receiver, boolean implicitThis, TupleExpression args) Attempts to make a direct method call on a bridge method, if it exists. |
|
protected boolean |
tryBridgeMethod(MethodNode target, Expression receiver, boolean implicitThis, TupleExpression args, ClassNode thisClass) Attempts to make a direct method call on a bridge method, if it exists. |
|
protected boolean |
writeDirectMethodCall(MethodNode target, boolean implicitThis, Expression receiver, TupleExpression args) |
|
public void |
writeInvokeConstructor(ConstructorCallExpression call) |
|
public void |
writeInvokeMethod(MethodCallExpression call) |
|
public void |
writeSpecialConstructorCall(ConstructorCallExpression call) |
Attempts to make a direct method call on a bridge method, if it exists.
Attempts to make a direct method call on a bridge method, if it exists.
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.