String [] interface_names = obj.getInterfaceNames(); for(int i=0; i < interface_names.length; i++) { if (interface_names[i].equals("java.io.Externalizable")) { isSerializable = true; } else if (interface_names[i].equals("java.io.Serializable")) { isSerializable = true; break; } }   if (!isSerializable) { try { if (Repository.instanceOf(obj,"java.io.Externalizable")) isSerializable = true; if (Repository.instanceOf(obj,"java.io.Serializable")) isSerializable = true; if (Repository.instanceOf(obj,"java.rmi.Remote")) { isSerializable = true; } } catch (ClassNotFoundException e) { bugReporter.reportMissingClass(e); } }
  public void visit(JavaClass obj)     {	hasNativeMethods = false;	if (getSuperclassName().indexOf("$") >= 0		|| getSuperclassName().indexOf("+") >= 0) {		// System.out.println("hicfsc: " + betterClassName);		innerClassCannotBeStatic.add(getDottedClassName());		// System.out.println("hicfsc: " + betterSuperclassName);		innerClassCannotBeStatic.add(getDottedSuperclassName());		}	super.visit(obj);	}