isSerializable = isSerializable || Repository.instanceOf(obj,"java.io.Serializable"); foundSynthetic = false; foundSynchronizedMethods = false; writeObjectIsSynchronized = false;
    public void visit(Method obj) {	int accessFlags = obj.getAccessFlags();        boolean isSynchronized = (accessFlags & ACC_SYNCHRONIZED) != 0;	// System.out.println(methodName + isSynchronized);	if (!isSynchronized) return;	if (methodName.equals("readObject")) 		bugReporter.reportBug(new BugInstance("RS_READOBJECT_SYNC", NORMAL_PRIORITY).addClass(this));	else if (methodName.equals("writeObject")) 		writeObjectIsSynchronized = true;	else synchronizedMethods++;	}