package com.qianwen.core.tool.beans; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/beans/BladeBeanCopierKey.class */ public class BladeBeanCopierKey { private final Class source; private final Class target; private final boolean useConverter; private final boolean nonNull; public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof BladeBeanCopierKey) { BladeBeanCopierKey other = (BladeBeanCopierKey) o; if (other.canEqual(this) && isUseConverter() == other.isUseConverter() && isNonNull() == other.isNonNull()) { Object this$source = getSource(); Object other$source = other.getSource(); if (this$source == null) { if (other$source != null) { return false; } } else if (!this$source.equals(other$source)) { return false; } Object this$target = getTarget(); Object other$target = other.getTarget(); return this$target == null ? other$target == null : this$target.equals(other$target); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof BladeBeanCopierKey; } public int hashCode() { int result = (1 * 59) + (isUseConverter() ? 79 : 97); int result2 = (result * 59) + (isNonNull() ? 79 : 97); Object $source = getSource(); int result3 = (result2 * 59) + ($source == null ? 43 : $source.hashCode()); Object $target = getTarget(); return (result3 * 59) + ($target == null ? 43 : $target.hashCode()); } public BladeBeanCopierKey(final Class source, final Class target, final boolean useConverter, final boolean nonNull) { this.source = source; this.target = target; this.useConverter = useConverter; this.nonNull = nonNull; } public Class getSource() { return this.source; } public Class getTarget() { return this.target; } public boolean isUseConverter() { return this.useConverter; } public boolean isNonNull() { return this.nonNull; } }