templates.includes.webclient.ksoap.FaceAPI.body.vm Maven / Gradle / Ivy
${className}($stubClassName stub) {
if(null==stub)
throw new IllegalArgumentException("stub must not be null");
this.stub = stub;
}
public static class Builder {
private $stubClassName stub=null;
private ${stubClassName}.Builder builder;
public #typeName($sourceinfo.interfaceClass) build(){
if(null==stub)
throw new IllegalArgumentException("stub must not be null");
return new ${className}(stub);
}
/**
* @param stub 要设置的 stub
* @return Builder
*/
public Builder setStub($stubClassName stub) {
this.stub = stub;
return this;
}
public ${stubClassName}.Builder stubBuilder() {
builder = ${stubClassName}.builder(this);
return builder;
}
}
public static final Builder builder(){
return new Builder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy