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

br.com.objectos.way.code.ImportInfoPojo Maven / Gradle / Ivy

package br.com.objectos.way.code;

import br.com.objectos.way.core.testing.Testables;
import com.google.common.base.Optional;

@javax.annotation.Generated("br.com.objectos.way.auto.pojo.AutoPojoProcessor")
final class ImportInfoPojo extends ImportInfo  {

  private final PackageInfo packageInfo;
  private final Optional name;
  private final boolean metaStatic;

  public ImportInfoPojo(ImportInfoBuilderPojo builder) {
    super();
    packageInfo = builder.packageInfo();
    name = builder.name();
    metaStatic = builder.isMetaStatic();
  }

  @Override
  public boolean isEqual(ImportInfo o) {
    return Testables.isEqualHelper()
        .equal(packageInfo, o.packageInfo())
        .equal(name, o.name())
        .equal(metaStatic, o.isMetaStatic())
        .result();
  }
  
  @Override
  PackageInfo packageInfo() {
    return packageInfo;
  }
  
  @Override
  Optional name() {
    return name;
  }
  
  @Override
  boolean isMetaStatic() {
    return metaStatic;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy