Class StaticInvocationWriter
java.lang.Object
org.codehaus.groovy.classgen.asm.InvocationWriter
org.codehaus.groovy.classgen.asm.sc.StaticInvocationWriter
-
Field Summary
Fields inherited from class org.codehaus.groovy.classgen.asm.InvocationWriter
castToVargsArray, controller, invokeClosureMethod, invokeMethod, invokeMethodOnCurrent, invokeMethodOnSuper, invokeStaticMethod
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
isPrivateBridgeMethodsCallAllowed
(ClassNode receiver, ClassNode caller) protected void
loadArguments
(List<Expression> argumentList, Parameter[] parameters) protected boolean
makeCachedCall
(Expression origin, ClassExpression sender, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis, boolean containsSpreadExpression) 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) Deprecated.protected boolean
tryBridgeMethod
(MethodNode target, Expression receiver, boolean implicitThis, TupleExpression args, ClassNode thisClass) 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
void
void
Methods inherited from class org.codehaus.groovy.classgen.asm.InvocationWriter
castNonPrimitiveToBool, castToNonPrimitiveIfNecessary, coerce, finnishConstructorCall, getMethodName, makeArgumentList, makeCall, makeClassForNameCall, makeDirectCall, makeSingleArgumentCall, makeSingleArgumentCall, makeUncachedCall, prepareConstructorCall, writeAICCall, writeInvokeStaticMethod, writeNormalConstructorCall
-
Constructor Details
-
StaticInvocationWriter
-
-
Method Details
-
writeInvokeMethod
- Overrides:
writeInvokeMethod
in classInvocationWriter
-
writeInvokeConstructor
- Overrides:
writeInvokeConstructor
in classInvocationWriter
-
writeSpecialConstructorCall
- Overrides:
writeSpecialConstructorCall
in classInvocationWriter
-
tryBridgeMethod
@Deprecated protected boolean tryBridgeMethod(MethodNode target, Expression receiver, boolean implicitThis, TupleExpression args) Deprecated.Attempts to make a direct method call on a bridge method, if it exists. -
tryBridgeMethod
protected boolean tryBridgeMethod(MethodNode target, Expression receiver, boolean implicitThis, TupleExpression args, ClassNode thisClass) Attempts to make a direct method call on a bridge method, if it exists. -
writeDirectMethodCall
protected boolean writeDirectMethodCall(MethodNode target, boolean implicitThis, Expression receiver, TupleExpression args) - Overrides:
writeDirectMethodCall
in classInvocationWriter
-
isPrivateBridgeMethodsCallAllowed
-
loadArguments
- Overrides:
loadArguments
in classInvocationWriter
-
makeCall
public void makeCall(Expression origin, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis) - Overrides:
makeCall
in classInvocationWriter
-
getCurrentCall
-
makeCachedCall
protected boolean makeCachedCall(Expression origin, ClassExpression sender, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis, boolean containsSpreadExpression) - Overrides:
makeCachedCall
in classInvocationWriter
-