
br.com.objectos.way.code.AnnotationValueInfoBuilderPojo Maven / Gradle / Ivy
package br.com.objectos.way.code;
import javax.annotation.Generated;
@Generated({
"br.com.objectos.way.pojo.compiler.PojoCompiler",
"br.com.objectos.way.pojo.plugin.StandardBuilderPropertyAction"
})
final class AnnotationValueInfoBuilderPojo implements AnnotationValueInfoBuilder, AnnotationValueInfoBuilder.AnnotationValueInfoBuilderName, AnnotationValueInfoBuilder.AnnotationValueInfoBuilderKind, AnnotationValueInfoBuilder.AnnotationValueInfoBuilderValue {
private String name;
private AnnotationValueKind kind;
private Object value;
public AnnotationValueInfoBuilderPojo() {
}
@Override
public AnnotationValueInfo build() {
return new AnnotationValueInfoPojo(this);
}
@Override
public AnnotationValueInfoBuilder.AnnotationValueInfoBuilderName name(String name) {
if (name == null) {
throw new NullPointerException();
}
this.name = name;
return this;
}
String ___get___name() {
return name;
}
@Override
public AnnotationValueInfoBuilder.AnnotationValueInfoBuilderKind kind(AnnotationValueKind kind) {
if (kind == null) {
throw new NullPointerException();
}
this.kind = kind;
return this;
}
AnnotationValueKind ___get___kind() {
return kind;
}
@Override
public AnnotationValueInfoBuilder.AnnotationValueInfoBuilderValue value(Object value) {
if (value == null) {
throw new NullPointerException();
}
this.value = value;
return this;
}
Object ___get___value() {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy