org.jboss.aop.instrument
Class FieldAccessTransformer.FieldAccessExprEditor

java.lang.Object
  extended by javassist.expr.ExprEditor
      extended by org.jboss.aop.instrument.FieldAccessTransformer.FieldAccessExprEditor
Direct Known Subclasses:
GeneratedAdvisorFieldAccessTransformer.GeneratedAdvisorFieldAccessExprEditor, NonOptimizedFieldAccessTransformer.NonOptimizedFieldAccessExprEditor, OptimizedFieldAccessTransformer.OptimizedFieldAccessExprEditor
Enclosing class:
FieldAccessTransformer

protected abstract class FieldAccessTransformer.FieldAccessExprEditor
extends javassist.expr.ExprEditor


Constructor Summary
FieldAccessTransformer.FieldAccessExprEditor(javassist.CtClass clazz, javassist.CtField field, boolean doGet, boolean doSet, int index)
           
 
Method Summary
 void edit(javassist.expr.FieldAccess fieldAccess)
           
protected abstract  void replaceRead(javassist.expr.FieldAccess fieldAccess)
           
protected abstract  void replaceWrite(javassist.expr.FieldAccess fieldAccess)
           
 
Methods inherited from class javassist.expr.ExprEditor
doit, edit, edit, 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

FieldAccessTransformer.FieldAccessExprEditor

public FieldAccessTransformer.FieldAccessExprEditor(javassist.CtClass clazz,
                                                    javassist.CtField field,
                                                    boolean doGet,
                                                    boolean doSet,
                                                    int index)
Method Detail

edit

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

replaceRead

protected abstract void replaceRead(javassist.expr.FieldAccess fieldAccess)
                             throws javassist.CannotCompileException
Throws:
javassist.CannotCompileException

replaceWrite

protected abstract void replaceWrite(javassist.expr.FieldAccess fieldAccess)
                              throws javassist.CannotCompileException
Throws:
javassist.CannotCompileException


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.