Package io.quarkus.qute.generator
Class ExtensionMethodGenerator
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 TypeClassDescriptionclassstatic 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
classOutput, generatedTypes, index -
Constructor Summary
ConstructorsConstructorDescriptionExtensionMethodGenerator(org.jboss.jandex.IndexView index, io.quarkus.gizmo.ClassOutput classOutput) -
Method Summary
Methods inherited from class io.quarkus.qute.generator.AbstractGenerator
completeBoolean, completeEnum, 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.gizmo.ClassOutput classOutput)
-
-
Method Details
-
getGeneratedTypes
- Overrides:
getGeneratedTypesin classAbstractGenerator
-
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
-
createNamespaceResolver
public ExtensionMethodGenerator.NamespaceResolverCreator createNamespaceResolver(org.jboss.jandex.ClassInfo declaringClass, String namespace, int priority)
-