Top


定義場所(file name)

jdk/src/share/classes/java/lang/ClassLoader.java

説明(description)

    /**
     * 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
     */

名前(function name)

    protected final Class<?> findLoadedClass(String name) {

本体部(body)

  {- -------------------------------------------
  (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.