Groovy Documentation

org.linkedin.groovy.util.mop
[Groovy] Class GroovyMopUtils

java.lang.Object
  org.linkedin.groovy.util.mop.GroovyMopUtils

class GroovyMopUtils

This class contains utility methods for meta programming

Authors:
ypujante@linkedin.com


Method Summary
static java.lang.Object missingMethodDelegate(java.lang.Object o, java.lang.Object name, java.lang.Object args, java.lang.Object delegates)

This method should be called from a missingMethod handler.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

missingMethodDelegate

static java.lang.Object missingMethodDelegate(java.lang.Object o, java.lang.Object name, java.lang.Object args, java.lang.Object delegates)
This method should be called from a missingMethod handler. It looks up a set of delegates as an alternate for the method call (note that the order of the delegates matters). If a delegate is found, it is automatically added as a new method to not have any penalty with future calls


 

Groovy Documentation