Groovy 2.2.0

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

Field Summary
 
Fields inherited from class InvocationWriter
invokeMethodOnCurrent, invokeMethodOnSuper, invokeMethod, invokeStaticMethod, invokeClosureMethod
 
Constructor Summary
StaticInvocationWriter(WriterController wc)

 
Method Summary
MethodCallExpression getCurrentCall()

protected static boolean isPrivateBridgeMethodsCallAllowed(ClassNode receiver, ClassNode caller)

protected void loadArguments(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)

void writeInvokeMethod(MethodCallExpression call)

void writeSpecialConstructorCall(ConstructorCallExpression call)

 
Methods inherited from class InvocationWriter
makeCall, writeInvokeMethod, writeInvokeStaticMethod, writeInvokeConstructor, writeSpecialConstructorCall, makeArgumentList, makeSingleArgumentCall, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

StaticInvocationWriter

public StaticInvocationWriter(WriterController wc)


 
Method Detail

getCurrentCall

public MethodCallExpression getCurrentCall()


isPrivateBridgeMethodsCallAllowed

protected static boolean isPrivateBridgeMethodsCallAllowed(ClassNode receiver, ClassNode caller)


loadArguments

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


makeCall

@OverrideString[] propertyPath = ((String) implicitReceiver).split("\\.");
public void makeCall(Expression origin, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis)


writeDirectMethodCall

@Overrideif (target==null) return false;
protected boolean writeDirectMethodCall(MethodNode target, boolean implicitThis, Expression receiver, TupleExpression args)


writeInvokeConstructor

@Override
public void writeInvokeConstructor(ConstructorCallExpression call)


writeInvokeMethod

@Override
public void writeInvokeMethod(MethodCallExpression call)


writeSpecialConstructorCall

@Override
public void writeSpecialConstructorCall(ConstructorCallExpression call)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.