aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2005-11-04 09:29:35 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2005-11-04 09:29:35 +0000
commit7696279d0e1cbf5021ad38fb7328f223b94c1031 (patch)
tree3c432f56c58ec4ee1fc9aaeb8318edc80d47254f /tutorial
parenteb12cc5d6bcbc25ea70f678321693971a0bd921c (diff)
downloadjavassist-7696279d0e1cbf5021ad38fb7328f223b94c1031.tar.gz
javassist-7696279d0e1cbf5021ad38fb7328f223b94c1031.zip
changed the behavior of CtClass#getMethods(), getFields(), and getConstructors().
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@217 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/tutorial.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/tutorial/tutorial.html b/tutorial/tutorial.html
index 271e88de..9644016a 100644
--- a/tutorial/tutorial.html
+++ b/tutorial/tutorial.html
@@ -177,6 +177,13 @@ cc.setSuperclass(...); // OK since the class is not frozen.
<p>To disallow pruning for all the <code>CtClass</code>es, set
<code>ClassPool.doPruning</code> to <code>false</code>.
+<ul><b>Note:</b>
+While debugging, you might want to temporarily stop pruning and write a modified
+class file to a disk drive. <code>debugWriteFile()</code> is a convenient method
+for that purpose. It stops pruning, write a class file, defrost it, and turn
+pruning on again (if it was initially on).
+</ul>
+
<h4>Class search path</h4>
<p>The default <code>ClassPool</code> returned