
br.com.objectos.code.TestingConstructorInfoBuilderPojo Maven / Gradle / Ivy
The newest version!
package br.com.objectos.code;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import javax.annotation.Generated;
@Generated({
"br.com.objectos.pojo.compiler.PojoCompiler",
"br.com.objectos.pojo.plugin.ListPlugin",
"br.com.objectos.pojo.plugin.StandardBuilderPropertyAction"
})
final class TestingConstructorInfoBuilderPojo implements TestingConstructorInfoBuilder, TestingConstructorInfoBuilder.TestingConstructorInfoBuilderAccessInfo, TestingConstructorInfoBuilder.TestingConstructorInfoBuilderParameterInfoList {
private AccessInfo accessInfo;
private List parameterInfoList;
public TestingConstructorInfoBuilderPojo() {
}
@Override
public TestingConstructorInfo build() {
return new TestingConstructorInfoPojo(this);
}
@Override
public TestingConstructorInfoBuilder.TestingConstructorInfoBuilderAccessInfo accessInfo(AccessInfo accessInfo) {
if (accessInfo == null) {
throw new NullPointerException();
}
this.accessInfo = accessInfo;
return this;
}
AccessInfo ___get___accessInfo() {
return accessInfo;
}
@Override
public TestingConstructorInfoBuilder.TestingConstructorInfoBuilderParameterInfoList parameterInfoList(List parameterInfoList) {
if (parameterInfoList == null) {
throw new NullPointerException();
}
this.parameterInfoList = parameterInfoList;
return this;
}
List ___get___parameterInfoList() {
return parameterInfoList;
}
@Override
public TestingConstructorInfoBuilder.TestingConstructorInfoBuilderParameterInfoList parameterInfoList(ParameterInfo... elements) {
if (elements == null) {
throw new NullPointerException();
}
List parameterInfoList = new ArrayList<>(elements.length);
for (int i = 0; i < elements.length; i++) {
ParameterInfo e = elements[i];
if (e == null) {
throw new NullPointerException();
}
parameterInfoList.add(e);
}
this.parameterInfoList = Collections.unmodifiableList(parameterInfoList);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy