All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.gerrit.entities.AutoValue_Address Maven / Gradle / Ivy

There is a newer version: 3.11.0-rc3
Show newest version
package com.google.gerrit.entities;

import com.google.gerrit.common.Nullable;
import javax.annotation.processing.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Address extends Address {

  private final String name;

  private final String email;

  AutoValue_Address(
      @Nullable String name,
      String email) {
    this.name = name;
    if (email == null) {
      throw new NullPointerException("Null email");
    }
    this.email = email;
  }

  @Nullable
  @Override
  public String name() {
    return name;
  }

  @Override
  public String email() {
    return email;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy