From: kkhan Date: Fri, 5 Jan 2007 12:17:50 +0000 (+0000) Subject: Document CodeConverter.replaceArrayAccess() X-Git-Tag: rel_3_17_1_ga~295 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=956be9c3df1db6123929edbd3a4aad91c0f09618;p=javassist.git Document CodeConverter.replaceArrayAccess() git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@340 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- diff --git a/src/main/javassist/CodeConverter.java b/src/main/javassist/CodeConverter.java index 77696894..711e52c6 100644 --- a/src/main/javassist/CodeConverter.java +++ b/src/main/javassist/CodeConverter.java @@ -17,7 +17,6 @@ package javassist; import javassist.bytecode.*; import javassist.convert.*; -import javassist.convert.TransformAccessArrayField.MethodNames; /** * Simple translator of method bodies @@ -48,7 +47,7 @@ import javassist.convert.TransformAccessArrayField.MethodNames; * @see javassist.expr.ExprEditor */ public class CodeConverter { - Transformer transformers = null; + protected Transformer transformers = null; /** * Modify a method body so that instantiation of the specified class @@ -64,7 +63,7 @@ public class CodeConverter { * in the method body with: * * - * + * *

This enables to intercept instantiation of Point * and change the samentics. For example, the following * createPoint() implements the singleton pattern: @@ -169,7 +168,7 @@ public class CodeConverter { * the original * write expression and the assigned value. The return type of the * static method is void. - * + * *

For example, the program below * *