boolean result = klass.isInstance(frame);
boolean result = false; if (frame instanceof PrototypeFrame) { PrototypeFrame pframe = (PrototypeFrame) frame; Class klass2 = classForPrototype(pframe.getName()); if (klass2 == null) result = false; else result = klass.isAssignableFrom(klass2); } else { result = klass.isInstance(frame); }
    public boolean descendsFromReflective(Frame frame, String prototype)    {	Class klass = classForPrototype(prototype);	if (klass != null) {	    boolean result = klass.isInstance(frame);	    if (log.isDebugEnabled())		log.debug(frame+ 			  (result ? " descends from " : " does not descend from ") 			  +prototype);	    return result;	} else {	    return false;	}    }