Groovy Documentation

org.codehaus.groovy.classgen.asm.sc
[Java] Class StaticInvocationWriter

java.lang.Object
  org.codehaus.groovy.classgen.asm.InvocationWriter
      org.codehaus.groovy.classgen.asm.sc.StaticInvocationWriter

public class StaticInvocationWriter
extends InvocationWriter

Constructor Summary
StaticInvocationWriter(WriterController wc)

 
Method Summary
protected static boolean isPrivateBridgeMethodsCallAllowed(ClassNode receiver, ClassNode caller)

protected void loadArguments(java.util.List 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)

 
Methods inherited from class InvocationWriter
makeCall, makeSingleArgumentCall, makeArgumentList, writeInvokeMethod, writeInvokeStaticMethod, writeInvokeConstructor, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Constructor Detail

StaticInvocationWriter

public StaticInvocationWriter(WriterController wc)


 
Method Detail

isPrivateBridgeMethodsCallAllowed

protected static boolean isPrivateBridgeMethodsCallAllowed(ClassNode receiver, ClassNode caller)


loadArguments

protected void loadArguments(java.util.List argumentList, Parameter[] para)


makeCall

"spreadresult" + counter,
public void makeCall(Expression origin, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis)


writeDirectMethodCall

@Override
protected boolean writeDirectMethodCall(MethodNode target, boolean implicitThis, Expression receiver, TupleExpression args)


writeInvokeConstructor

@Override
public void writeInvokeConstructor(ConstructorCallExpression call)


 

Groovy Documentation