aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial/tutorial3.html
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2004-07-19 12:02:27 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2004-07-19 12:02:27 +0000
commitaa92b8250ecf9bb0698a0844123b67a5f2ac5279 (patch)
tree787192862dd2a8b3214a45e8ea0e6f52573b9a5d /tutorial/tutorial3.html
parent785aa0c403ccfe2367417b1431f430961a2af067 (diff)
downloadjavassist-aa92b8250ecf9bb0698a0844123b67a5f2ac5279.tar.gz
javassist-aa92b8250ecf9bb0698a0844123b67a5f2ac5279.zip
Bugs item #988787 has been fixed.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@114 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'tutorial/tutorial3.html')
-rw-r--r--tutorial/tutorial3.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/tutorial/tutorial3.html b/tutorial/tutorial3.html
index 4b732978..c965a64c 100644
--- a/tutorial/tutorial3.html
+++ b/tutorial/tutorial3.html
@@ -84,10 +84,16 @@ In other words, a <code>FieldInfo</code> (or <code>MethodInfo</code> etc.) objec
must not be shared among different <code>ClassFile</code> objects.
<p>
-To remove a field or a method, you must first obtain a <code>java.util.List</code>
+To remove a field or a method,
+you must first obtain a <code>java.util.List</code>
object containing all the fields of the class. <code>getFields()</code>
and <code>getMethods()</code> return the lists. A field or a method can
be removed by calling <code>remove()</code> on the <code>List</code> object.
+An attribute can be removed in a similar way.
+Call <code>getAttributes()</code> in <code>FieldInfo</code> or
+<code>MethodInfo</code> to obtain the list of attributes,
+and remove one from the list.
+
<p><br>