boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Resource resource = (Resource)o; if (myClassLoader != resource.myClassLoader) return false; if (myClass != resource.myClass) return false; if (myFile != null ? !myFile.equals(resource.myFile) : resource.myFile != null) return false; return true; }