public class StaticInvocationWriter extends InvocationWriter
invokeClosureMethod, invokeMethod, invokeMethodOnCurrent, invokeMethodOnSuper, invokeStaticMethod
Constructor and Description |
---|
StaticInvocationWriter(WriterController wc) |
Modifier and Type | Method and Description |
---|---|
MethodCallExpression |
getCurrentCall() |
protected static boolean |
isPrivateBridgeMethodsCallAllowed(ClassNode receiver,
ClassNode caller) |
protected void |
loadArguments(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) |
void |
writeInvokeMethod(MethodCallExpression call) |
finnishConstructorCall, getMethodName, makeArgumentList, makeCachedCall, makeCall, makeClassForNameCall, makeDirectCall, makeSingleArgumentCall, makeUncachedCall, prepareConstructorCall, writeAICCall, writeInvokeStaticMethod, writeNormalConstructorCall
public StaticInvocationWriter(WriterController wc)
public void writeInvokeMethod(MethodCallExpression call)
writeInvokeMethod
in class InvocationWriter
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(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
public MethodCallExpression getCurrentCall()