boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ResourceTextDescriptor resource = (ResourceTextDescriptor)o; return Objects.equals(myLoader, resource.myLoader) && Objects.equals(myResourcePath, resource.myResourcePath); }