Package io.quarkus.qute.generator
Class ValueResolverGenerator.Builder
java.lang.Object
io.quarkus.qute.generator.ValueResolverGenerator.Builder
- Enclosing class:
- ValueResolverGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddClass(org.jboss.jandex.ClassInfo clazz) addClass(org.jboss.jandex.ClassInfo clazz, org.jboss.jandex.AnnotationInstance templateData) build()setClassOutput(io.quarkus.gizmo.ClassOutput classOutput) setForceGettersFunction(Function<org.jboss.jandex.ClassInfo, Function<org.jboss.jandex.FieldInfo, String>> forceGettersFunction) The function returns: a function that returns the getter name for a specific field ornullif getter should not be forced for the given fieldnullif getters are not forced for the given classsetIndex(org.jboss.jandex.IndexView index)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setIndex
-
setClassOutput
-
setForceGettersFunction
public ValueResolverGenerator.Builder setForceGettersFunction(Function<org.jboss.jandex.ClassInfo, Function<org.jboss.jandex.FieldInfo, String>> forceGettersFunction) The function returns:- a function that returns the getter name for a specific field or
nullif getter should not be forced for the given field nullif getters are not forced for the given class
- Parameters:
forceGettersFunction-- Returns:
- self
- a function that returns the getter name for a specific field or
-
addClass
-
addClass
public ValueResolverGenerator.Builder addClass(org.jboss.jandex.ClassInfo clazz, org.jboss.jandex.AnnotationInstance templateData) -
build
-