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

br.com.objectos.ui.html.ProtoNamingPojo Maven / Gradle / Ivy

The newest version!
package br.com.objectos.ui.html;

import br.com.objectos.core.testing.Testables;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.TypeName;
import com.squareup.javapoet.TypeVariableName;
import javax.annotation.Generated;

@Generated("br.com.objectos.auto.pojo.AutoPojoProcessor")
final class ProtoNamingPojo extends ProtoNaming {
  private final ClassName elementClassName;

  private final TypeVariableName typeVariableName;

  private final TypeVariableName protoTypeVariableName;

  private final TypeName superclassTypeName;

  public ProtoNamingPojo(ProtoNamingBuilderPojo builder) {
    super();
    elementClassName = builder.___get___elementClassName();
    typeVariableName = builder.___get___typeVariableName();
    protoTypeVariableName = builder.___get___protoTypeVariableName();
    superclassTypeName = builder.___get___superclassTypeName();
  }

  @Override
  public boolean isEqual(ProtoNaming that) {
    return Testables.isEqualHelper()
        .equal(elementClassName, that.elementClassName())
        .equal(typeVariableName, that.typeVariableName())
        .equal(protoTypeVariableName, that.protoTypeVariableName())
        .equal(superclassTypeName, that.superclassTypeName())
        .result();
  }

  @Override
  ClassName elementClassName() {
    return elementClassName;
  }

  @Override
  TypeVariableName typeVariableName() {
    return typeVariableName;
  }

  @Override
  TypeVariableName protoTypeVariableName() {
    return protoTypeVariableName;
  }

  @Override
  TypeName superclassTypeName() {
    return superclassTypeName;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy