
br.com.objectos.way.code.AnnotationValueInfoPojo Maven / Gradle / Ivy
package br.com.objectos.way.code;
import br.com.objectos.way.testable.Equality;
import br.com.objectos.way.testable.Tester;
import javax.annotation.Generated;
@Generated({
"br.com.objectos.way.pojo.compiler.PojoCompiler",
"br.com.objectos.way.pojo.plugin.StandardPojoPropertyAction",
"br.com.objectos.way.testable.TestablePlugin"
})
final class AnnotationValueInfoPojo extends AnnotationValueInfo {
private static final Tester ___TESTER___ = Tester.of(AnnotationValueInfo.class)
.add("name", o -> o.name())
.add("kind", o -> o.kind())
.add("value", o -> o.value())
.build();
private final String name;
private final AnnotationValueKind kind;
private final Object value;
public AnnotationValueInfoPojo(AnnotationValueInfoBuilderPojo builder) {
super();
name = builder.___get___name();
kind = builder.___get___kind();
value = builder.___get___value();
}
@Override
public Equality isEqualTo(Object that) {
return ___TESTER___.test(this, that);
}
@Override
String name() {
return name;
}
@Override
AnnotationValueKind kind() {
return kind;
}
@Override
public Object value() {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy