jdk/src/share/classes/java/lang/ClassLoader.java
/**
* Returns the class with the given <a href="#name">binary name</a> if this
* loader has been recorded by the Java virtual machine as an initiating
* loader of a class with that <a href="#name">binary name</a>. Otherwise
* <tt>null</tt> is returned. </p>
*
* @param name
* The <a href="#name">binary name</a> of the class
*
* @return The <tt>Class</tt> object, or <tt>null</tt> if the class has
* not been loaded
*
* @since 1.1
*/
protected final Class<?> findLoadedClass(String name) {
{- -------------------------------------------
(1) name 引数がクラス名として不正な場合は, null をリターン.
---------------------------------------- -}
if (!checkName(name))
return null;
{- -------------------------------------------
(1) java.lang.ClassLoader.findLoadedClass0() を呼んで, 結果をリターン.
---------------------------------------- -}
return findLoadedClass0(name);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.