diff options
Diffstat (limited to 'src/main/javassist/ClassPool.java')
-rw-r--r-- | src/main/javassist/ClassPool.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/javassist/ClassPool.java b/src/main/javassist/ClassPool.java index 394c8410..ac4b5a08 100644 --- a/src/main/javassist/ClassPool.java +++ b/src/main/javassist/ClassPool.java @@ -16,6 +16,7 @@ package javassist; import java.io.*; +import java.net.URL; import java.util.Hashtable; /** @@ -747,6 +748,16 @@ public class ClassPool { } /** + * Obtains the URL of the class file specified by classname. + * + * @param classname a fully-qualified class name. + * @return null if the class file could not be found. + */ + public URL find(String classname) { + return source.find(classname); + } + + /** * Appends the system search path to the end of the * search path. The system search path * usually includes the platform library, extension |