org.jboss.weaver.retro
Class ClassRedirectEditor

java.lang.Object
  extended by javassist.expr.ExprEditor
      extended by org.jboss.weaver.retro.ClassRedirectEditor

public class ClassRedirectEditor
extends javassist.expr.ExprEditor

An expression editor implementation that maps news, field access and method calls that exist in java5 to java14 compatible helper implementations.

Version:
$Revision: 200 $
Author:
Adrian Brock, Scott.Stark@jboss.org

Constructor Summary
ClassRedirectEditor()
           
 
Method Summary
 void edit(javassist.expr.FieldAccess access)
           
 void edit(javassist.expr.MethodCall call)
           
 void edit(javassist.expr.NewExpr newExpr)
           
 
Methods inherited from class javassist.expr.ExprEditor
doit, edit, edit, edit, edit, edit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassRedirectEditor

public ClassRedirectEditor()
Method Detail

edit

public void edit(javassist.expr.NewExpr newExpr)
          throws javassist.CannotCompileException
Overrides:
edit in class javassist.expr.ExprEditor
Parameters:
newExpr -
Throws:
javassist.CannotCompileException

edit

public void edit(javassist.expr.FieldAccess access)
          throws javassist.CannotCompileException
Overrides:
edit in class javassist.expr.ExprEditor
Throws:
javassist.CannotCompileException

edit

public void edit(javassist.expr.MethodCall call)
          throws javassist.CannotCompileException
Overrides:
edit in class javassist.expr.ExprEditor
Throws:
javassist.CannotCompileException


Copyright © 2005-2007 JBoss, a division of Red Hat, Inc. All Rights Reserved.