Groovy 2.2.1

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 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 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, makeArgumentList, writeInvokeMethod, writeInvokeStaticMethod, writeInvokeConstructor, writeSpecialConstructorCall, 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

@Overrideif (implicitReceiver !=null && implicitThis) {
public void makeCall(Expression origin, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis)


tryBridgeMethod

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.


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.