Package com.sun.javadoc

Examples of com.sun.javadoc.ClassDoc.subclassOf()


        for (ClassDoc interface_ : classDoc.interfaces()) {
            if (isTestAPI(interface_, root)) {
                for (FieldDoc field : interface_.fields()) {
                    if (field.name().equals("factory")) {
                        ClassDoc fieldClassDoc = field.type().asClassDoc();
                        if ((fieldClassDoc != null) && fieldClassDoc.subclassOf(ComponentFactory)) {
                            return field;
                        }
                    }
                }
            }
View Full Code Here


         for (Iterator innerIter = treeList.iterator(); innerIter.hasNext();)
         {
            ClassDoc existingRoot = (ClassDoc)innerIter.next();

            if (existingRoot.subclassOf(candidate))
            {
               innerIter.remove();
            }
            else if (candidate.subclassOf(existingRoot))
            {
View Full Code Here

      {
         for (Iterator it = classList.iterator(); it.hasNext();)
         {
            ClassDoc candidate = (ClassDoc)it.next();

            if (candidate.subclassOf(m_root))
            {
               m_memberSet.add(candidate);
            }
         }
View Full Code Here

                    /*
                     * If a superclass of this exception is already on
                     * the list to catch, then ignore this one and continue;
                     */
                    continue nextException;
                } else if (ex2.subclassOf(ex)) {
                    /*
                     * If a subclass of this exception is on the list
                     * to catch, then remove it;
                     */
                    i.remove();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.