br.com.objectos.way.code.SourceFileInfoPojo Maven / Gradle / Ivy
package br.com.objectos.way.code;
import br.com.objectos.way.core.testing.Testables;
@javax.annotation.Generated("br.com.objectos.way.auto.pojo.AutoPojoProcessor")
final class SourceFileInfoPojo extends SourceFileInfo {
private final PackageInfo packageInfo;
private final ImportInfoMap importInfoMap;
private final TypeInfoMap typeInfoMap;
public SourceFileInfoPojo(SourceFileInfoBuilderPojo builder) {
super();
packageInfo = builder.getPackageInfo();
importInfoMap = builder.getImportInfoMap();
typeInfoMap = builder.getTypeInfoMap();
}
@Override
public boolean isEqual(SourceFileInfo o) {
return Testables.isEqualHelper()
.equal(packageInfo, o.getPackageInfo())
.equal(importInfoMap, o.getImportInfoMap())
.equal(typeInfoMap, o.getTypeInfoMap())
.result();
}
@Override
PackageInfo getPackageInfo() {
return packageInfo;
}
@Override
ImportInfoMap getImportInfoMap() {
return importInfoMap;
}
@Override
TypeInfoMap getTypeInfoMap() {
return typeInfoMap;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy