From: chiba Date: Tue, 27 Jul 2004 14:47:30 +0000 (+0000) Subject: updated some javadoc comments. X-Git-Tag: rel_3_17_1_ga~494 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f4a78cf275e5a1a8f81fed70d73f6273f6f9150f;p=javassist.git updated some javadoc comments. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@119 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- diff --git a/src/main/javassist/reflect/Reflection.java b/src/main/javassist/reflect/Reflection.java index 9cb14425..a52351da 100644 --- a/src/main/javassist/reflect/Reflection.java +++ b/src/main/javassist/reflect/Reflection.java @@ -19,7 +19,7 @@ import javassist.*; import javassist.CtMethod.ConstParameter; /** - * The class implementing the reflection mechanism. + * The class implementing the behavioral reflection mechanism. * *

If a class is reflective, * then all the method invocations on every diff --git a/src/main/javassist/reflect/package.html b/src/main/javassist/reflect/package.html index de344d0c..128f186e 100644 --- a/src/main/javassist/reflect/package.html +++ b/src/main/javassist/reflect/package.html @@ -1,11 +1,13 @@ -Runtime Reflection. +Runtime Behavioral Reflection. + +

(also recently known as AOP)

This package enables a metaobject to trap method calls and field accesses on a regular Java object. It provides a class Reflection, which is a main module for implementing -runtime reflection. +runtime behavioral reflection. It also provides a class Loader and Compiler as utilities for dynamically or statically diff --git a/tutorial/tutorial.html b/tutorial/tutorial.html index 6dc7ad14..064f8da8 100644 --- a/tutorial/tutorial.html +++ b/tutorial/tutorial.html @@ -434,10 +434,10 @@ and calls say() on that instance.

Note that the program above depends on the fact that the Hello class is never loaded before toClass() is invoked. If not, the JVM would load the original -Hello class before toClass() request to load -the modified Hello class. Hence loading the modified -Hello class would be failed. -For example, if +Hello class before toClass() requests to +load the modified Hello class. Hence loading the +modified Hello class would be failed +(LinkageError is thrown). For example, if main() in Test is something like this: