Top Fields Constructors Methods
groovy.util

pack-priv Class FactoryInterceptorMetaClass

Located in compilation unit of groovy.util.FactoryBuilderSupport.

extends DelegatingMetaClass
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv FactoryBuilderSupport
Inherited from groovy.lang.DelegatingMetaClass:
delegate

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
invokeMethod(Object
The Object to invoke the method on
object
,
String
The name of the method
methodName
,
Object
The argument to the method
arguments
)

Overrides groovy.lang.DelegatingMetaClass.invokeMethod.

Implements groovy.lang.MetaObjectProtocol.invokeMethod.

Invokes a method on the given object, with the given name and single argument.
public Object
invokeMethod(Object
The instance which the method is invoked on
object
,
String
The name of the method
methodName
,
Object[]
The arguments to the method
arguments
)

Overrides groovy.lang.DelegatingMetaClass.invokeMethod.

Implements groovy.lang.MetaObjectProtocol.invokeMethod.

Invokes a method on the given Object with the given name and arguments.
Inherited from groovy.lang.DelegatingMetaClass:
addMetaBeanPropertyaddMetaMethodaddNewInstanceMethodaddNewStaticMethodequalsgetAdapteegetAttributegetAttributegetClassNodegetMetaClassgetMetaMethodgetMetaMethodsgetMetaPropertygetMethodsgetPropertiesgetPropertygetPropertygetPropertygetStaticMetaMethodgetStaticMetaMethodgetTheClasshashCodehasPropertyinitializeinvokeConstructorinvokeMethodinvokeMethodinvokeMissingMethodinvokeMissingPropertyinvokeStaticMethodisGroovyObjectisModifiedpickMethodrespondsTorespondsToselectConstructorAndTransformArgumentssetAdapteesetAttributesetAttributesetMetaClasssetPropertysetPropertysetPropertytoString

Field Detail

builderback to summary
pack-priv FactoryBuilderSupport builder

Constructor Detail

FactoryInterceptorMetaClassback to summary
public FactoryInterceptorMetaClass(MetaClass delegate, FactoryBuilderSupport builder)

Method Detail

invokeMethodback to summary
public Object invokeMethod(Object object, String methodName, Object arguments)

Overrides groovy.lang.DelegatingMetaClass.invokeMethod.

Implements groovy.lang.MetaObjectProtocol.invokeMethod.

Doc from groovy.lang.MetaObjectProtocol.invokeMethod.

Invokes a method on the given object, with the given name and single argument.

Parameters
object:Object

The Object to invoke the method on

methodName:String

The name of the method

arguments:Object

The argument to the method

Returns:Object

The return value of the method which is null if the return type is void

invokeMethodback to summary
public Object invokeMethod(Object object, String methodName, Object[] arguments)

Overrides groovy.lang.DelegatingMetaClass.invokeMethod.

Implements groovy.lang.MetaObjectProtocol.invokeMethod.

Doc from groovy.lang.MetaObjectProtocol.invokeMethod.

Invokes a method on the given Object with the given name and arguments. The MetaClass will attempt to pick the best method for the given name and arguments. If a method cannot be invoked a MissingMethodException will be thrown.

Parameters
object:Object

The instance which the method is invoked on

methodName:String

The name of the method

arguments:Object[]

The arguments to the method

Returns:Object

The return value of the method which is null if the return type is void