aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/ClassPool.java
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2006-03-23 13:52:47 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2006-03-23 13:52:47 +0000
commit7b68913ebbbdc6d7f7e48b18e7d7e5ffc6667527 (patch)
treefa91162c54fddbc428bfdc7b9b90e89ba706f8ce /src/main/javassist/ClassPool.java
parent5a29c6e53d92d3729fc09734faa7e0e80d4ffbd3 (diff)
downloadjavassist-7b68913ebbbdc6d7f7e48b18e7d7e5ffc6667527.tar.gz
javassist-7b68913ebbbdc6d7f7e48b18e7d7e5ffc6667527.zip
updated javadoc comments.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@266 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/ClassPool.java')
-rw-r--r--src/main/javassist/ClassPool.java14
1 files changed, 9 insertions, 5 deletions
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.<p>
+ * class.
*
- * This can be changed by subclassing the pool and changing
- * the getClassLoader() method.
+ * <p>This can be changed by subclassing the pool and changing
+ * the <code>getClassLoader()</code> method.
*
* <p>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.<p>
+ * Get the classloader for <code>toClass()</code>, <code>getAnnotations()</code> in
+ * <code>CtClass</code>, etc.
*
- * The default is the context class loader.
+ * <p>The default is the context class loader.
*
* @return the classloader for the pool
+ * @see #toClass(CtClass)
+ * @see CtClass#getAnnotations()
*/
public ClassLoader getClassLoader() {
return getContextClassLoader();