Deprecated API


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

Deprecated Classes
groovy.util.GroovyLog
           
groovy.ui.InteractiveShell
           
org.codehaus.groovy.reflection.MethodHandle
           
org.codehaus.groovy.reflection.MethodHandleFactory
           
org.codehaus.groovy.runtime.TimeCategory
          in favor of TimeCategory 
 

Deprecated Annotation Types
groovy.lang.Immutable
          use groovy.transform.Immutable 
groovy.lang.PackageScope
          use groovy.transform.PackageScope 
 

Deprecated Fields
groovy.util.ObservableMap.PropertyClearedEvent.CLEAR_PROPERTY
            
groovy.lang.GroovyShell.EMPTY_ARGS
           
 

Deprecated Methods
org.codehaus.groovy.tools.javac.JavaStubCompilationUnit.addSourceFile(File)
           
org.codehaus.groovy.runtime.DefaultGroovyMethods.asBoolean(GroovyResultSet)
          use SqlGroovyMethods#asBoolean(GroovyResultSet) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.consumeProcessErrorStream(Process, OutputStream)
          use ProcessGroovyMethods#consumeProcessErrorStream(Process, OutputStream) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.consumeProcessErrorStream(Process, StringBuffer)
          use ProcessGroovyMethods#consumeProcessErrorStream(Process, Appendable) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.consumeProcessErrorStream(Process, Writer)
          use ProcessGroovyMethods#consumeProcessErrorStream(Process, Appendable) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.consumeProcessOutput(Process)
          use ProcessGroovyMethods#consumeProcessOutput(Process) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.consumeProcessOutput(Process, OutputStream, OutputStream)
          use ProcessGroovyMethods#consumeProcessOutput(Process, OutputStream, OutputStream) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.consumeProcessOutput(Process, StringBuffer, StringBuffer)
          use ProcessGroovyMethods#consumeProcessOutput(Process, Appendable, Appendable) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.consumeProcessOutputStream(Process, OutputStream)
          use ProcessGroovyMethods#consumeProcessOutputStream(Process, OutputStream) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.consumeProcessOutputStream(Process, StringBuffer)
          use ProcessGroovyMethods#consumeProcessOutputStream(Process, Appendable) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.consumeProcessOutputStream(Process, Writer)
          use ProcessGroovyMethods#consumeProcessOutputStream(Process, Appendable) 
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)
            
org.codehaus.groovy.reflection.MethodHandleFactory.genInvokeXxxWithArray(ClassWriter, Method)
           
org.codehaus.groovy.reflection.MethodHandleFactory.genLoadParameters(int, MethodVisitor, Method)
           
org.codehaus.groovy.reflection.MethodHandleFactory.genLoadParametersDirect(int, MethodVisitor, Method)
           
org.codehaus.groovy.reflection.MethodHandleFactory.genLoadParametersPrimitiveDirect(int, MethodVisitor, Method)
           
groovy.swing.impl.TableLayout.getComponent()
          Simply returns this 
org.codehaus.groovy.runtime.DefaultGroovyMethods.getErr(Process)
          use ProcessGroovyMethods#getErr(Process) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.getIn(Process)
          use ProcessGroovyMethods#getIn(Process) 
groovy.lang.GroovyCodeSource.getInputStream()
          Prefer using methods taking a Reader rather than an InputStream to avoid wrong encoding issues. 
groovy.jmx.builder.JmxEventListener.getListner()
           
org.codehaus.groovy.ast.expr.MethodCallExpression.getMetaMethod()
            
org.codehaus.groovy.runtime.DefaultGroovyMethods.getOut(Process)
          use ProcessGroovyMethods#getOut(Process) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.getText(Process)
          use ProcessGroovyMethods#getText(Process) 
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.FieldNode.isClosureSharedVariable()
            
org.codehaus.groovy.ast.VariableScope.isResolvingDynamic()
           
org.codehaus.groovy.runtime.DefaultGroovyMethods.leftShift(Process, byte[])
          use ProcessGroovyMethods#leftShift(Process, byte[]) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.leftShift(Process, Object)
          use ProcessGroovyMethods#leftShift(Process, Object) 
groovy.util.GroovyScriptEngine.loadScriptByName(String, ClassLoader)
            
org.codehaus.groovy.runtime.DefaultGroovyMethods.or(Process, Process)
          use ProcessGroovyMethods#or(Process, Process) 
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.pipeTo(Process, Process)
          use ProcessGroovyMethods#pipeTo(Process, Process) 
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. 
org.codehaus.groovy.ast.FieldNode.setClosureSharedVariable(boolean)
            
org.codehaus.groovy.ast.VariableScope.setDynamicResolving(boolean)
           
org.codehaus.groovy.ast.expr.MethodCallExpression.setMetaMethod(MetaMethod)
            
groovy.util.GroovyScriptEngine.setParentClassLoader(ClassLoader)
            
groovy.xml.MarkupBuilder.transformValue(String)
            
org.codehaus.groovy.reflection.MethodHandleFactory.unreflect(Method)
           
org.codehaus.groovy.runtime.DefaultGroovyMethods.waitForOrKill(Process, long)
          use ProcessGroovyMethods#waitForOrKill(Process, long) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.waitForProcessOutput(Process)
          use ProcessGroovyMethods#waitForProcessOutput(Process) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.waitForProcessOutput(Process, OutputStream, OutputStream)
          use ProcessGroovyMethods#waitForProcessOutput(Process, OutputStream, OutputStream) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.waitForProcessOutput(Process, StringBuffer, StringBuffer)
          use #waitForProcessOutput(Process, Appendable, Appendable) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.withOutputStream(Process, Closure)
          use ProcessGroovyMethods#withOutputStream(Process, Closure) 
org.codehaus.groovy.runtime.DefaultGroovyMethods.withWriter(Process, Closure)
          use ProcessGroovyMethods#withWriter(Process, Closure) 
 

Deprecated Constructors
groovy.lang.GroovyCodeSource(InputStream, String, String)
          Prefer using methods taking a Reader rather than an InputStream to avoid wrong encoding issues. 
groovy.util.ObservableList.ElementEvent(Object, Object, Object, int, int)
            
groovy.util.ObservableMap.PropertyEvent(Object, String, Object, Object, int)
            
 


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