## Deprecated API

Contents

- Deprecated Classes
- Deprecated Methods

Deprecated Classes
groovy.mock.ClosureConstraintMatcher As of Groovy 1.5 replaced by MockFor (or use an external mocking package) `MockFor`
groovy.mock.GroovyMock As of Groovy 1.5 replaced by MockFor (or use an external mocking package) `MockFor`
org.codehaus.groovy.runtime.Invoker

Deprecated Methods
org.codehaus.groovy.runtime.Invoker.asArray(Object)
org.codehaus.groovy.runtime.Invoker.asUnwrappedArray(Object)
groovy.lang.GroovyClassLoader.defineClass(ClassNode, String)
groovy.lang.GroovyClassLoader.defineClass(String, byte[], ProtectionDomain)
groovy.lang.GroovyClassLoader.expandClassPath(List, String, String, boolean)
org.codehaus.groovy.runtime.Invoker.getAttribute(Object, String)
org.codehaus.groovy.runtime.InvokerHelper.getInstance()
org.codehaus.groovy.runtime.Invoker.getMetaClass(Object)
org.codehaus.groovy.runtime.Invoker.getMetaRegistry()
org.codehaus.groovy.runtime.Invoker.getMethodPointer(Object, String)
org.codehaus.groovy.runtime.Invoker.getProperty(Object, String)
groovy.lang.MetaClassImpl.invokeConstructorAt(Class, Object[]) use invokeConstructor instead
org.codehaus.groovy.runtime.Invoker.invokeConstructorOf(Class, Object)
org.codehaus.groovy.runtime.Invoker.invokeMethod(Object, String, Object)
org.codehaus.groovy.runtime.InvokerHelper.invokeNoArgumentsMethod(Object, String)
org.codehaus.groovy.runtime.Invoker.invokeStaticMethod(Class, String, Object)
org.codehaus.groovy.runtime.Invoker.invokeSuperMethod(Object, String, Object)
org.codehaus.groovy.runtime.DefaultGroovyMethods.iterator(File) use File#eachLine instead please
groovy.util.GroovyScriptEngine.loadScriptByName(String, ClassLoader)
groovy.lang.DelegatingMetaClass.pickMethod(String, Class[])
org.codehaus.groovy.runtime.DefaultGroovyMethods.putAt(List, List, List) replace with putAt(List self, Range range, List value)
org.codehaus.groovy.runtime.DefaultGroovyMethods.putAt(List, List, Object) replace with putAt(List self, Range range, Object value)
groovy.sql.Sql.queryEach(GString, Closure) please use eachRow instead
groovy.sql.Sql.queryEach(String, Closure) please use eachRow instead
groovy.sql.Sql.queryEach(String, List, Closure) please use eachRow instead
org.codehaus.groovy.runtime.DefaultGroovyMethods.readLine(InputStream) use Reader#readLine instead please
org.codehaus.groovy.runtime.Invoker.removeMetaClass(Class)
groovy.lang.MetaClassImpl.retrieveMethod(String, Class[]) use pickMethod instead
org.codehaus.groovy.runtime.Invoker.setAttribute(Object, String, Object)
groovy.util.GroovyScriptEngine.setParentClassLoader(ClassLoader)
org.codehaus.groovy.runtime.Invoker.setProperty(Object, String, Object)
groovy.xml.MarkupBuilder.transformValue(String)

Copyright © 2003-2008 The Codehaus. All rights reserved.