public class StaticInvocationWriter extends InvocationWriter
invokeClosureMethod, invokeMethod, invokeMethodOnCurrent, invokeMethodOnSuper, invokeStaticMethod
Constructor and Description |
---|
StaticInvocationWriter(WriterController wc) |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
isPrivateBridgeMethodsCallAllowed(ClassNode receiver,
ClassNode caller) |
protected void |
loadArguments(java.util.List<Expression> argumentList,
Parameter[] para) |
void |
makeCall(Expression origin,
Expression receiver,
Expression message,
Expression arguments,
MethodCallerMultiAdapter adapter,
boolean safe,
boolean spreadSafe,
boolean implicitThis) |
protected boolean |
writeDirectMethodCall(MethodNode target,
boolean implicitThis,
Expression receiver,
TupleExpression args) |
void |
writeInvokeConstructor(ConstructorCallExpression call) |
finnishConstructorCall, getMethodName, makeArgumentList, makeSingleArgumentCall, prepareConstructorCall, writeInvokeMethod, writeInvokeStaticMethod
public StaticInvocationWriter(WriterController wc)
public void writeInvokeConstructor(ConstructorCallExpression call)
writeInvokeConstructor
in class InvocationWriter
protected boolean writeDirectMethodCall(MethodNode target, boolean implicitThis, Expression receiver, TupleExpression args)
writeDirectMethodCall
in class InvocationWriter
protected static boolean isPrivateBridgeMethodsCallAllowed(ClassNode receiver, ClassNode caller)
protected void loadArguments(java.util.List<Expression> argumentList, Parameter[] para)
loadArguments
in class InvocationWriter
public void makeCall(Expression origin, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis)
makeCall
in class InvocationWriter