aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial/tutorial2.html
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2005-01-31 14:09:56 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2005-01-31 14:09:56 +0000
commitbd0d1580a7f9f92558eabe7b1fe9f49b259203e4 (patch)
treef475fb6abf7857b061f4aa7e4ae43436ccf1f6b7 /tutorial/tutorial2.html
parent7d35a76c5dbaf7cecb72a334f7910b622d932adf (diff)
downloadjavassist-bd0d1580a7f9f92558eabe7b1fe9f49b259203e4.tar.gz
javassist-bd0d1580a7f9f92558eabe7b1fe9f49b259203e4.zip
Added javadoc comments.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@157 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'tutorial/tutorial2.html')
-rw-r--r--tutorial/tutorial2.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/tutorial/tutorial2.html b/tutorial/tutorial2.html
index 63d75ce0..abac129a 100644
--- a/tutorial/tutorial2.html
+++ b/tutorial/tutorial2.html
@@ -1368,6 +1368,13 @@ CtField f = CtField.make("public int z = 0;", point);
point.addField(f);
</pre></ul>
+<h4>Removing a member</h4>
+
+<p>To remove a field or a method, call <code>removeField()</code>
+or <code>removeMethod()</code> in <code>CtClass</code>. A
+<code>CtConstructor</code> can be removed by <code>removeConstructor()</code>
+in <code>CtClass</code>.
+
<p><br>