
com.fluentinterface.proxy.DefaultBuilderDelegate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-interface-proxy Show documentation
Show all versions of fluent-interface-proxy Show documentation
A dynamic proxy that implements builder interfaces transparently.
The newest version!
package com.fluentinterface.proxy;
import com.fluentinterface.builder.Builder;
/**
* Bridges the provided {@link Builder} interface as the builder interface.
*/
public class DefaultBuilderDelegate extends AbstractBuilderDelegate {
protected String getBuildMethodName() {
return "build";
}
protected Class getBuilderClass() {
return Builder.class;
}
public Object build(Builder builder) {
return builder.build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy