public static class CodeGenerator.Builder<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
CodeGenerator<T> |
build() |
boolean |
generate(T... items) |
CodeGenerator.Builder<T> |
skipping(Predicate<T> skip) |
CodeGenerator.Builder<T> |
withIdentifier(Function<T,String> identifier) |
CodeGenerator.Builder<T> |
withIdentifier(Identifier<T> identifier) |
CodeGenerator.Builder<T> |
withOutput(Function<T,Writer> output) |
CodeGenerator.Builder<T> |
withOutput(Output<T> output) |
CodeGenerator.Builder<T> |
withRenderer(Function<T,String> renderer) |
CodeGenerator.Builder<T> |
withRenderer(Renderer<T> renderer) |
public CodeGenerator.Builder<T> withOutput(Output<T> output)
public CodeGenerator.Builder<T> withOutput(Function<T,Writer> output)
public CodeGenerator.Builder<T> withIdentifier(Identifier<T> identifier)
public CodeGenerator.Builder<T> withIdentifier(Function<T,String> identifier)
public CodeGenerator.Builder<T> withRenderer(Renderer<T> renderer)
public CodeGenerator.Builder<T> withRenderer(Function<T,String> renderer)
public CodeGenerator.Builder<T> skipping(Predicate<T> skip)
public CodeGenerator<T> build()
public boolean generate(T... items)
Copyright © 2023. All rights reserved.