Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • 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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • invokeMethod

        public java.lang.Object invokeMethod​(java.lang.Object target,
                                             java.lang.String method,
                                             java.lang.Object[] arguments)
        Specified by:
        invokeMethod in interface groovy.lang.MetaObjectProtocol
        Overrides:
        invokeMethod in class groovy.lang.DelegatingMetaClass
      • invokeStaticMethod

        public java.lang.Object invokeStaticMethod​(java.lang.Object target,
                                                   java.lang.String method,
                                                   java.lang.Object[] arguments)
        Specified by:
        invokeStaticMethod in interface groovy.lang.MetaObjectProtocol
        Overrides:
        invokeStaticMethod in class groovy.lang.DelegatingMetaClass
      • invokeConstructor

        public java.lang.Object invokeConstructor​(java.lang.Object[] arguments)
        Specified by:
        invokeConstructor in interface groovy.lang.MetaObjectProtocol
        Overrides:
        invokeConstructor in class groovy.lang.DelegatingMetaClass
      • getProperty

        public java.lang.Object getProperty​(java.lang.Object target,
                                            java.lang.String property)
        Specified by:
        getProperty in interface groovy.lang.MetaObjectProtocol
        Overrides:
        getProperty in class groovy.lang.DelegatingMetaClass
      • setProperty

        public void setProperty​(java.lang.Object target,
                                java.lang.String property,
                                java.lang.Object newValue)
        Specified by:
        setProperty in interface groovy.lang.MetaObjectProtocol
        Overrides:
        setProperty in class groovy.lang.DelegatingMetaClass