boolean (Object object) { if (object == this) return true; if (object == null || !object.getClass().equals(getClass())) return false; NodeOptions options = (NodeOptions)object; return options.isFlattenPackages() == isFlattenPackages() && options.isAbbreviatePackageNames() == isAbbreviatePackageNames() && options.isHideEmptyMiddlePackages() == isHideEmptyMiddlePackages() && options.isCompactDirectories() == isCompactDirectories() && options.isShowLibraryContents() == isShowLibraryContents(); }