Overview | Package | Class | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Deprecated API

Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

Deprecated Interfaces
groovy.swing.impl.ComponentFacade This interface is no longer used internally and there exists no equivilant functionality Superceded by FactoryBuilderSupport handling.
groovy.swing.impl.ContainerFacade This interface is no longer used internally and there exists no equivilant functionality Superceded by FactoryBuilderSupport handling.
groovy.swing.impl.Startable This interface is no longer used internally and there exists no equivilant functionality. Superceded by FactoryBuilderSupport handling.

Deprecated Classes
groovy.util.GroovyLog
groovy.ui.InteractiveShell
org.codehaus.groovy.runtime.TimeCategory in favor of `TimeCategory`

Deprecated Fields
groovy.lang.GroovyShell.EMPTY_ARGS

Deprecated Methods
org.codehaus.groovy.ast.ModuleNode.addImportPackage(String) replaced by `ModuleNode.addStarImport(String)`
org.codehaus.groovy.tools.javac.JavaStubCompilationUnit.addSourceFile(File)
org.codehaus.groovy.ast.ModuleNode.addStaticImportClass(String, ClassNode) replaced by `ModuleNode.addStaticStarImport(String, ClassNode)`
org.codehaus.groovy.ast.ModuleNode.addStaticMethodOrField(ClassNode, String, String) replaced by `ModuleNode.addStaticImport(ClassNode, String, String)`
groovy.lang.GroovyClassLoader.defineClass(ClassNode, String)
groovy.lang.GroovyClassLoader.defineClass(String, byte[], ProtectionDomain)
groovy.lang.GroovyShell.evaluate(InputStream) Prefer using methods taking a Reader rather than an InputStream to avoid wrong encoding issues.
groovy.lang.GroovyShell.evaluate(InputStream, String) Prefer using methods taking a Reader rather than an InputStream to avoid wrong encoding issues.
groovy.lang.GroovyClassLoader.expandClassPath(List, String, String, boolean)
groovy.swing.impl.TableLayout.getComponent() Simply returns this
org.codehaus.groovy.ast.ModuleNode.getImportPackages() replaced by `ModuleNode.getStarImports()`
groovy.lang.GroovyCodeSource.getInputStream() Prefer using methods taking a Reader rather than an InputStream to avoid wrong encoding issues.
org.codehaus.groovy.ast.expr.MethodCallExpression.getMetaMethod()
org.codehaus.groovy.ast.ModuleNode.getStaticImportAliases() replaced by `ModuleNode.getStaticImports()`
org.codehaus.groovy.ast.ModuleNode.getStaticImportClasses() replaced by `ModuleNode.getStaticStarImports()`
org.codehaus.groovy.ast.ModuleNode.getStaticImportFields() replaced by `ModuleNode.getStaticImports()`
org.codehaus.groovy.runtime.InvokerHelper.getVersion() Use GroovySystem version instead.
groovy.lang.GroovyShell.initializeBinding()
groovy.lang.MetaClassImpl.invokeConstructorAt(Class, Object[]) use invokeConstructor instead
org.codehaus.groovy.ast.VariableScope.isResolvingDynamic()
org.codehaus.groovy.runtime.DefaultGroovyMethods.iterator(File) use File#eachLine instead please
org.codehaus.groovy.runtime.DefaultGroovyMethods.iterator(NodeList) moved to `XmlGroovyMethods`
groovy.util.GroovyScriptEngine.loadScriptByName(String, ClassLoader)
org.codehaus.groovy.classgen.BytecodeHelper.loadVar(Variable) use loadVar(Variable,boolean) instead
groovy.lang.GroovyShell.parse(InputStream) Prefer using methods taking a Reader rather than an InputStream to avoid wrong encoding issues.
groovy.lang.GroovyShell.parse(InputStream, String) Prefer using methods taking a Reader rather than an InputStream to avoid wrong encoding issues.
groovy.lang.GroovyClassLoader.parseClass(InputStream) Prefer using methods taking a Reader rather than an InputStream to avoid wrong encoding issues.
groovy.lang.GroovyClassLoader.parseClass(InputStream, String) Prefer using methods taking a Reader rather than an InputStream to avoid wrong encoding issues.
groovy.lang.DelegatingMetaClass.pickMethod(String, Class[])
org.codehaus.groovy.runtime.metaclass.OwnedMetaClass.pickMethod(String, Class[])
org.codehaus.groovy.runtime.DefaultGroovyMethods.readLine(InputStream) use Reader#readLine instead please
groovy.lang.MetaClassImpl.retrieveMethod(String, Class[]) use pickMethod instead
groovy.lang.GroovyShell.run(InputStream, String, String[]) Prefer using methods taking a Reader rather than an InputStream to avoid wrong encoding issues.
groovy.xml.dom.DOMUtil.serialize(Element) use XmlUtil version instead
groovy.xml.dom.DOMUtil.serialize(Element, OutputStream) use XmlUtil version instead
org.codehaus.groovy.ast.VariableScope.setDynamicResolving(boolean)
org.codehaus.groovy.ast.expr.MethodCallExpression.setMetaMethod(MetaMethod)
groovy.util.GroovyScriptEngine.setParentClassLoader(ClassLoader)
org.codehaus.groovy.runtime.DefaultGroovyMethods.toRowResult(ResultSet) moved to `SqlGroovyMethods.toRowResult(java.sql.ResultSet)`
groovy.xml.MarkupBuilder.transformValue(String)

Deprecated Constructors
groovy.util.FactoryBuilderSupport(Closure)
groovy.lang.GroovyCodeSource(InputStream, String, String) Prefer using methods taking a Reader rather than an InputStream to avoid wrong encoding issues.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2003-2009 The Codehaus. All rights reserved.
PREV NEXT | FRAMES NO FRAMES