+ public boolean retainDeclarationReferences() {
+ return retainDeclarationReferences;
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(parserMode, retainDeclarationReferences);
+ }
+
+ @Override
+ public boolean equals(final @Nullable Object obj) {
+ if (this == obj) {
+ return true;
+ }
+ if (!(obj instanceof YangParserConfiguration)) {
+ return false;
+ }
+ final YangParserConfiguration other = (YangParserConfiguration) obj;
+ return parserMode == other.parserMode && retainDeclarationReferences == other.retainDeclarationReferences;
+ }
+
+ @Override
+ public String toString() {
+ return MoreObjects.toStringHelper(this)
+ .add("parserMode", parserMode)
+ .add("retainDeclarationReferences", retainDeclarationReferences)
+ .toString();
+ }
+