From bd0d1580a7f9f92558eabe7b1fe9f49b259203e4 Mon Sep 17 00:00:00 2001 From: chiba Date: Mon, 31 Jan 2005 14:09:56 +0000 Subject: Added javadoc comments. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@157 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- tutorial/tutorial2.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tutorial/tutorial2.html') 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); +

Removing a member

+ +

To remove a field or a method, call removeField() +or removeMethod() in CtClass. A +CtConstructor can be removed by removeConstructor() +in CtClass. +


-- cgit v1.2.3