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.collectAll(Collection, Closure)
          Use collectNested instead 
org.codehaus.groovy.runtime.DefaultGroovyMethods.collectAll(Collection, Collection, Closure)
          Use collectNested instead 
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 
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.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()
           
groovy.util.GroovyScriptEngine.loadScriptByName(String, ClassLoader)
            
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[])
            
groovy.lang.MetaClassImpl.retrieveMethod(String, Class[])
          use pickMethod instead 
org.codehaus.groovy.transform.AbstractASTTransformUtil.returnFalseIfPropertyNotEqual(FieldNode, Expression)
           
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)
           
 

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-2012 The Codehaus. All rights reserved.