| 
Groovy 1.8.5 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.groovy.runtime.ConversionHandler
public abstract class ConversionHandler extends Object
This class is a general adapter to map a call to a Java interface to a given delegate.
| Constructor Summary | |
            ConversionHandler(Object delegate)
            Creates a ConversionHandler with an delegate.  | 
        |
| Method Summary | |
|---|---|
            protected boolean
         | 
        
            checkMethod(Method method)
             | 
        
            boolean
         | 
        
            equals(Object obj)
            Indicates whether some other object is "equal to" this one.  | 
        
            Object
         | 
        
            getDelegate()
            Returns the delegate.  | 
        
            int
         | 
        
            hashCode()
            Returns a hash code value for the delegate.  | 
        
            Object
         | 
        
            invoke(Object proxy, Method method, Object[] args)
            This method is a default implementation for the invoke method given in InvocationHandler.  | 
        
            Object
         | 
        
            invokeCustom(Object proxy, Method method, Object[] args)
            This method is called for all Methods not defined on Object.  | 
        
            static boolean
         | 
        
            isCoreObjectMethod(Method method)
            Checks whether a method is a core method from java.lang.Object.  | 
        
            String
         | 
        
            toString()
            Returns a String version of the delegate.  | 
        
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll | 
| Constructor Detail | 
|---|
public ConversionHandler(Object delegate)
delegate -  the delegate
| Method Detail | 
|---|
protected boolean checkMethod(Method method)
public boolean equals(Object obj)
public Object getDelegate()
public int hashCode()
public Object invoke(Object proxy, Method method, Object[] args)
proxy -   the proxymethod -  the methodargs -    the arguments
public Object invokeCustom(Object proxy, Method method, Object[] args)
proxy -   the proxymethod -  the methodargs -    the arguments
public static boolean isCoreObjectMethod(Method method)
method -  the method to check
public String toString()
Copyright © 2003-2011 The Codehaus. All rights reserved.