com.google.gerrit.server.query.AutoValue_FileEditsPredicate_FileEditsArgs Maven / Gradle / Ivy
package com.google.gerrit.server.query;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_FileEditsPredicate_FileEditsArgs extends FileEditsPredicate.FileEditsArgs {
private final String filePattern;
private final String editPattern;
AutoValue_FileEditsPredicate_FileEditsArgs(
String filePattern,
String editPattern) {
if (filePattern == null) {
throw new NullPointerException("Null filePattern");
}
this.filePattern = filePattern;
if (editPattern == null) {
throw new NullPointerException("Null editPattern");
}
this.editPattern = editPattern;
}
@Override
String filePattern() {
return filePattern;
}
@Override
String editPattern() {
return editPattern;
}
@Override
public String toString() {
return "FileEditsArgs{"
+ "filePattern=" + filePattern + ", "
+ "editPattern=" + editPattern
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof FileEditsPredicate.FileEditsArgs) {
FileEditsPredicate.FileEditsArgs that = (FileEditsPredicate.FileEditsArgs) o;
return this.filePattern.equals(that.filePattern())
&& this.editPattern.equals(that.editPattern());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= filePattern.hashCode();
h$ *= 1000003;
h$ ^= editPattern.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy