Package org.spockframework.mock.runtime
Class GroovyMockMetaClass
java.lang.Object
groovy.lang.DelegatingMetaClass
org.spockframework.mock.runtime.GroovyMockMetaClass
- All Implemented Interfaces:
groovy.lang.GroovyObject
,groovy.lang.MetaClass
,groovy.lang.MetaObjectProtocol
,groovy.lang.MutableMetaClass
public class GroovyMockMetaClass
extends groovy.lang.DelegatingMetaClass
-
Field Summary
Fields inherited from class groovy.lang.DelegatingMetaClass
delegate
-
Constructor Summary
ConstructorsConstructorDescriptionGroovyMockMetaClass
(IMockConfiguration configuration, Specification specification, groovy.lang.MetaClass oldMetaClass) -
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(Object target, String property) invokeConstructor
(Object[] arguments) invokeMethod
(Object target, String method, Object[] arguments) invokeStaticMethod
(Object target, String method, Object[] arguments) void
setProperty
(Object target, String property, Object newValue) Methods inherited from class groovy.lang.DelegatingMetaClass
addMetaBeanProperty, addMetaMethod, addNewInstanceMethod, addNewStaticMethod, equals, getAdaptee, getAttribute, getAttribute, getClassNode, getMetaClass, getMetaMethod, getMetaMethods, getMetaProperty, getMethods, getProperties, getProperty, getProperty, getStaticMetaMethod, getStaticMetaMethod, getTheClass, hashCode, hasProperty, initialize, invokeMethod, invokeMethod, invokeMethod, invokeMissingMethod, invokeMissingProperty, isGroovyObject, isModified, pickMethod, respondsTo, respondsTo, selectConstructorAndTransformArguments, setAdaptee, setAttribute, setAttribute, setMetaClass, setProperty, setProperty, toString
-
Constructor Details
-
GroovyMockMetaClass
public GroovyMockMetaClass(IMockConfiguration configuration, Specification specification, groovy.lang.MetaClass oldMetaClass)
-
-
Method Details
-
invokeMethod
- Specified by:
invokeMethod
in interfacegroovy.lang.MetaObjectProtocol
- Overrides:
invokeMethod
in classgroovy.lang.DelegatingMetaClass
-
invokeStaticMethod
- Specified by:
invokeStaticMethod
in interfacegroovy.lang.MetaObjectProtocol
- Overrides:
invokeStaticMethod
in classgroovy.lang.DelegatingMetaClass
-
invokeConstructor
- Specified by:
invokeConstructor
in interfacegroovy.lang.MetaObjectProtocol
- Overrides:
invokeConstructor
in classgroovy.lang.DelegatingMetaClass
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.MetaObjectProtocol
- Overrides:
getProperty
in classgroovy.lang.DelegatingMetaClass
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.MetaObjectProtocol
- Overrides:
setProperty
in classgroovy.lang.DelegatingMetaClass
-