From: chiba Date: Thu, 23 Mar 2006 13:52:47 +0000 (+0000) Subject: updated javadoc comments. X-Git-Tag: rel_3_17_1_ga~363 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7b68913ebbbdc6d7f7e48b18e7d7e5ffc6667527;p=javassist.git updated javadoc comments. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@266 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- diff --git a/src/main/javassist/ClassPool.java b/src/main/javassist/ClassPool.java index cd869285..1062d670 100644 --- a/src/main/javassist/ClassPool.java +++ b/src/main/javassist/ClassPool.java @@ -754,26 +754,30 @@ public class ClassPool { * To load the class, this method uses the context class loader * of the current thread. If the program is running on some application * server, the context class loader might be inappropriate to load the - * class.

+ * class. * - * This can be changed by subclassing the pool and changing - * the getClassLoader() method. + *

This can be changed by subclassing the pool and changing + * the getClassLoader() method. * *

This method is provided for convenience. If you need more * complex functionality, you should write your own class loader. * * @see #toClass(CtClass, java.lang.ClassLoader) + * @see #getClassLoader() */ public Class toClass(CtClass clazz) throws CannotCompileException { return toClass(clazz, getClassLoader()); } /** - * Get the classloader for this pool.

+ * Get the classloader for toClass(), getAnnotations() in + * CtClass, etc. * - * The default is the context class loader. + *

The default is the context class loader. * * @return the classloader for the pool + * @see #toClass(CtClass) + * @see CtClass#getAnnotations() */ public ClassLoader getClassLoader() { return getContextClassLoader();