java.lang.Object
io.quarkus.qute.generator.AbstractGenerator
io.quarkus.qute.generator.ExtensionMethodGenerator
Generates value resolvers for static extension methods.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final org.jboss.jandex.DotNamestatic final org.jboss.jandex.DotNameFields inherited from class io.quarkus.qute.generator.AbstractGenerator
generatedTypes, gizmo, index -
Constructor Summary
ConstructorsConstructorDescriptionExtensionMethodGenerator(org.jboss.jandex.IndexView index, io.quarkus.gizmo2.ClassOutput classOutput) -
Method Summary
Modifier and TypeMethodDescriptiongenerate(org.jboss.jandex.MethodInfo method, String matchName, List<String> matchNames, String matchRegex, Integer priority) generateNamespaceResolver(org.jboss.jandex.ClassInfo declaringClass, String namespace, int priority, List<ExtensionMethodGenerator.NamespaceExtensionMethodInfo> extensionMethods) static voidMethods inherited from class io.quarkus.qute.generator.AbstractGenerator
completeBoolean, getGeneratedTypes, hasClassInTypeClosure, hasCompletionStage, hasCompletionStageInTypeClosure, isEnum, processReturnVal, skipMemberType
-
Field Details
-
TEMPLATE_EXTENSION
public static final org.jboss.jandex.DotName TEMPLATE_EXTENSION -
TEMPLATE_ATTRIBUTE
public static final org.jboss.jandex.DotName TEMPLATE_ATTRIBUTE -
SUFFIX
- See Also:
-
NAMESPACE_SUFFIX
- See Also:
-
MATCH_NAME
- See Also:
-
MATCH_NAMES
- See Also:
-
MATCH_REGEX
- See Also:
-
PRIORITY
- See Also:
-
NAMESPACE
- See Also:
-
PATTERN
- See Also:
-
-
Constructor Details
-
ExtensionMethodGenerator
public ExtensionMethodGenerator(org.jboss.jandex.IndexView index, io.quarkus.gizmo2.ClassOutput classOutput)
-
-
Method Details
-
validate
-
generate
public String generate(org.jboss.jandex.MethodInfo method, String matchName, List<String> matchNames, String matchRegex, Integer priority) - Parameters:
method-matchName-matchNames-matchRegex-priority-- Returns:
- the fully qualified name of the generated class
-
generateNamespaceResolver
public String generateNamespaceResolver(org.jboss.jandex.ClassInfo declaringClass, String namespace, int priority, List<ExtensionMethodGenerator.NamespaceExtensionMethodInfo> extensionMethods)
-