hydra.langs.scala.meta.Ctor_Primary Maven / Gradle / Ivy
package hydra.langs.scala.meta;
import java.io.Serializable;
public class Ctor_Primary implements Serializable {
public static final hydra.core.Name NAME = new hydra.core.Name("hydra/langs/scala/meta.Ctor.Primary");
public final java.util.List mods;
public final hydra.langs.scala.meta.Name name;
public final java.util.List> paramss;
public Ctor_Primary (java.util.List mods, hydra.langs.scala.meta.Name name, java.util.List> paramss) {
this.mods = mods;
this.name = name;
this.paramss = paramss;
}
@Override
public boolean equals(Object other) {
if (!(other instanceof Ctor_Primary)) {
return false;
}
Ctor_Primary o = (Ctor_Primary) (other);
return mods.equals(o.mods) && name.equals(o.name) && paramss.equals(o.paramss);
}
@Override
public int hashCode() {
return 2 * mods.hashCode() + 3 * name.hashCode() + 5 * paramss.hashCode();
}
public Ctor_Primary withMods(java.util.List mods) {
return new Ctor_Primary(mods, name, paramss);
}
public Ctor_Primary withName(hydra.langs.scala.meta.Name name) {
return new Ctor_Primary(mods, name, paramss);
}
public Ctor_Primary withParamss(java.util.List> paramss) {
return new Ctor_Primary(mods, name, paramss);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy