summaryrefslogtreecommitdiffstats
path: root/tutorial
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2015-12-03 12:23:33 +0900
committerchibash <chiba@javassist.org>2015-12-03 12:23:33 +0900
commitbb2e4c8745bc156afa2a0c0a7e31419ed29afa02 (patch)
tree75921fd6d3370798ccdc9f0a6db9542c94b028e5 /tutorial
parente3f096df2d83520c504b3f64f735625b55432427 (diff)
downloadjavassist-bb2e4c8745bc156afa2a0c0a7e31419ed29afa02.tar.gz
javassist-bb2e4c8745bc156afa2a0c0a7e31419ed29afa02.zip
updates the tutorial
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/tutorial2.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/tutorial/tutorial2.html b/tutorial/tutorial2.html
index 04afbd9c..9a962ac3 100644
--- a/tutorial/tutorial2.html
+++ b/tutorial/tutorial2.html
@@ -481,7 +481,8 @@ compiled code at the end of the method. In the statement given to
available.
<p>The variable <code>$_</code> represents the resulting value of the
-method. The type of that variable is the type of the result type (the
+method. So it is a write-only variable.
+The type of that variable is the type of the result type (the
return type) of the method. If the result type is <code>void</code>,
then the type of <code>$_</code> is <code>Object</code> and the value
of <code>$_</code> is <code>null</code>.