import java.util.ArrayDeque;
import java.util.Collection;
import java.util.Deque;
-import java.util.Objects;
import java.util.Optional;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.jdt.annotation.Nullable;
return yin;
}
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(qname);
- result = prime * result + Objects.hashCode(schemaPath);
- return result;
- }
-
- @Override
- public boolean equals(final Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- ExtensionEffectiveStatementImpl other = (ExtensionEffectiveStatementImpl) obj;
- return Objects.equals(qname, other.qname) && Objects.equals(schemaPath, other.schemaPath);
- }
-
@Override
public String toString() {
if (TOSTRING_DETECTOR.check(this)) {