Browse Source

fixed a typo.


git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@432 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
tags/rel_3_17_1_ga
chiba 16 years ago
parent
commit
dc1297543e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tutorial/tutorial.html

+ 1
- 1
tutorial/tutorial.html View File

@@ -1043,7 +1043,7 @@ adds a new field <code>hiddenValue</code> to <code>java.lang.String</code>:
<ul><pre>ClassPool pool = ClassPool.getDefault();
CtClass cc = pool.get("java.lang.String");
cc.addField(new CtField(CtClass.intType, "hiddenValue", cc));
pool.writeFile("java.lang.String", ".");</pre></ul>
cc.writeFile("java.lang.String", ".");</pre></ul>

<p>This program produces a file <code>"./java/lang/String.class"</code>.


Loading…
Cancel
Save