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 org.codehaus.groovy.classgen.asm.InvocationWritercastToVargsArray, invokeClosureMethod, invokeMethod, invokeMethodOnCurrent, invokeMethodOnSuper, invokeStaticMethod
 
- 
 - 
Constructor SummaryConstructors Constructor Description StaticInvocationWriter(WriterController wc)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MethodCallExpressiongetCurrentCall()protected static booleanisPrivateBridgeMethodsCallAllowed(ClassNode receiver, ClassNode caller)protected voidloadArguments(java.util.List<Expression> argumentList, Parameter[] para)protected booleanmakeCachedCall(Expression origin, ClassExpression sender, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis, boolean containsSpreadExpression)voidmakeCall(Expression origin, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis)protected booleanmakeDirectCall(Expression origin, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean implicitThis, boolean containsSpreadExpression)protected booleantryBridgeMethod(MethodNode target, Expression receiver, boolean implicitThis, TupleExpression args)Deprecated.protected booleantryBridgeMethod(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 booleanwriteDirectMethodCall(MethodNode target, boolean implicitThis, Expression receiver, TupleExpression args)voidwriteInvokeConstructor(ConstructorCallExpression call)voidwriteInvokeMethod(MethodCallExpression call)voidwriteSpecialConstructorCall(ConstructorCallExpression call)- 
Methods inherited from class org.codehaus.groovy.classgen.asm.InvocationWritercastNonPrimitiveToBool, castToNonPrimitiveIfNecessary, coerce, finnishConstructorCall, getMethodName, makeArgumentList, makeCall, makeClassForNameCall, makeSingleArgumentCall, makeUncachedCall, prepareConstructorCall, writeAICCall, writeInvokeStaticMethod, writeNormalConstructorCall
 
- 
 
- 
- 
- 
Constructor Detail- 
StaticInvocationWriterpublic StaticInvocationWriter(WriterController wc) 
 
- 
 - 
Method Detail- 
getCurrentCallpublic MethodCallExpression getCurrentCall() 
 - 
makeDirectCallprotected boolean makeDirectCall(Expression origin, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean implicitThis, boolean containsSpreadExpression) - Overrides:
- makeDirectCallin class- InvocationWriter
 
 - 
writeInvokeMethodpublic void writeInvokeMethod(MethodCallExpression call) - Overrides:
- writeInvokeMethodin class- InvocationWriter
 
 - 
writeInvokeConstructorpublic void writeInvokeConstructor(ConstructorCallExpression call) - Overrides:
- writeInvokeConstructorin class- InvocationWriter
 
 - 
writeSpecialConstructorCallpublic void writeSpecialConstructorCall(ConstructorCallExpression call) - Overrides:
- writeSpecialConstructorCallin class- InvocationWriter
 
 - 
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.
 - 
tryBridgeMethodprotected 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.
 - 
writeDirectMethodCallprotected boolean writeDirectMethodCall(MethodNode target, boolean implicitThis, Expression receiver, TupleExpression args) - Overrides:
- writeDirectMethodCallin class- InvocationWriter
 
 - 
isPrivateBridgeMethodsCallAllowedprotected static boolean isPrivateBridgeMethodsCallAllowed(ClassNode receiver, ClassNode caller) 
 - 
loadArgumentsprotected void loadArguments(java.util.List<Expression> argumentList, Parameter[] para) - Overrides:
- loadArgumentsin class- InvocationWriter
 
 - 
makeCallpublic void makeCall(Expression origin, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis) - Overrides:
- makeCallin class- InvocationWriter
 
 - 
makeCachedCallprotected boolean makeCachedCall(Expression origin, ClassExpression sender, Expression receiver, Expression message, Expression arguments, MethodCallerMultiAdapter adapter, boolean safe, boolean spreadSafe, boolean implicitThis, boolean containsSpreadExpression) - Overrides:
- makeCachedCallin class- InvocationWriter
 
 
- 
 
-