if (Repository.instanceOf(obj,"java.rmi.Remote")) isSerializable = false;
if (Repository.instanceOf(obj,"java.rmi.Remote")) { isRemote = true; }
    public void visit(JavaClass obj)     {      	int flags = obj.getAccessFlags();	isAbstract = (flags & ACC_ABSTRACT) != 0 			   || (flags & ACC_INTERFACE) != 0;        sawSerialVersionUID = false;        isSerializable = implementsSerializableDirectly = false;	isGUIClass = false;        // Does this class directly implement Serializable?        String [] interface_names = obj.getInterfaceNames();        for(int i=0; i < interface_names.length; i++) {            if (interface_names[i].equals("java.io.Serializable")) {		implementsSerializableDirectly = true;                isSerializable = true;		break;                }            }        // Does this class indirectly implement Serializable?	if (!isSerializable) {	    try {	        if (Repository.instanceOf(obj,"java.io.Serializable"))		    isSerializable = true;	        if (Repository.instanceOf(obj,"java.rmi.Remote"))		    isSerializable = false;	    } catch (ClassNotFoundException e) {		bugReporter.reportMissingClass(e);	    }	}	// Is this a GUI class?	try {	    isGUIClass = Repository.instanceOf(obj, "java.awt.Component");	} catch (ClassNotFoundException e) {	    bugReporter.reportMissingClass(e);	}	foundSynthetic = false;	foundSynchronizedMethods = false;	writeObjectIsSynchronized = false;	sawReadExternal = sawWriteExternal = sawReadObject = sawWriteObject = false;	}