public class GroovyMockMetaClass
extends groovy.lang.DelegatingMetaClass
Constructor and Description |
---|
GroovyMockMetaClass(IMockConfiguration configuration,
Specification specification,
groovy.lang.MetaClass oldMetaClass) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getProperty(java.lang.Object target,
java.lang.String property) |
java.lang.Object |
invokeConstructor(java.lang.Object[] arguments) |
java.lang.Object |
invokeMethod(java.lang.Object target,
java.lang.String method,
java.lang.Object[] arguments) |
java.lang.Object |
invokeStaticMethod(java.lang.Object target,
java.lang.String method,
java.lang.Object[] arguments) |
void |
setProperty(java.lang.Object target,
java.lang.String property,
java.lang.Object newValue) |
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
public GroovyMockMetaClass(IMockConfiguration configuration, Specification specification, groovy.lang.MetaClass oldMetaClass)
public java.lang.Object invokeMethod(java.lang.Object target, java.lang.String method, java.lang.Object[] arguments)
invokeMethod
in interface groovy.lang.MetaObjectProtocol
invokeMethod
in class groovy.lang.DelegatingMetaClass
public java.lang.Object invokeStaticMethod(java.lang.Object target, java.lang.String method, java.lang.Object[] arguments)
invokeStaticMethod
in interface groovy.lang.MetaObjectProtocol
invokeStaticMethod
in class groovy.lang.DelegatingMetaClass
public java.lang.Object invokeConstructor(java.lang.Object[] arguments)
invokeConstructor
in interface groovy.lang.MetaObjectProtocol
invokeConstructor
in class groovy.lang.DelegatingMetaClass
public java.lang.Object getProperty(java.lang.Object target, java.lang.String property)
getProperty
in interface groovy.lang.MetaObjectProtocol
getProperty
in class groovy.lang.DelegatingMetaClass
public void setProperty(java.lang.Object target, java.lang.String property, java.lang.Object newValue)
setProperty
in interface groovy.lang.MetaObjectProtocol
setProperty
in class groovy.lang.DelegatingMetaClass
Copyright © 2015. All rights reserved