public static MethodNode addDelegateStaticMethod ( ClassNode classNode , MethodNode delegateMethod ) { ClassExpression classExpression = new ClassExpression ( delegateMethod . getDeclaringClass ( ) ) ; return addDelegateStaticMethod ( classExpression , classNode , delegateMethod ) ; }
Adds a static method call to given class node that delegates to the given method