Package io.quarkus.qute.generator
Class ValueResolverGenerator
- java.lang.Object
-
- io.quarkus.qute.generator.ValueResolverGenerator
-
public class ValueResolverGenerator extends Object
Generates value resolvers backed by classes.- See Also:
ValueResolver
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValueResolverGenerator.Builder
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_PRIORITYstatic StringGET_PREFIXstatic StringHAS_PREFIXstatic StringIGNOREstatic StringIGNORE_SUPERCLASSESstatic StringIS_PREFIXstatic StringNAMESPACEstatic StringNAMESPACE_SUFFIXstatic StringNESTED_SEPARATORstatic StringPROPERTIESstatic StringSUFFIXstatic StringTARGETstatic org.jboss.jandex.DotNameTEMPLATE_DATAstatic org.jboss.jandex.DotNameTEMPLATE_DATA_CONTAINER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValueResolverGenerator.Builderbuilder()static Stringcapitalize(String name)voidgenerate()Generate value resolvers for all classes added viaValueResolverGenerator.Builder.addClass(ClassInfo, AnnotationInstance).Set<String>getGeneratedTypes()static StringgetPropertyName(String methodName)static booleanhasClassInTypeClosure(org.jboss.jandex.ClassInfo classInfo, org.jboss.jandex.DotName className, org.jboss.jandex.IndexView index)static booleanhasCompletionStageInTypeClosure(org.jboss.jandex.ClassInfo classInfo, org.jboss.jandex.IndexView index)static booleanisSynthetic(int mod)static booleanisVarArgs(org.jboss.jandex.MethodInfo method)static StringsimpleName(org.jboss.jandex.ClassInfo clazz)static StringunderscoredFullyQualifiedName(String name)
-
-
-
Field Detail
-
TEMPLATE_DATA
public static final org.jboss.jandex.DotName TEMPLATE_DATA
-
TEMPLATE_DATA_CONTAINER
public static final org.jboss.jandex.DotName TEMPLATE_DATA_CONTAINER
-
SUFFIX
public static final String SUFFIX
- See Also:
- Constant Field Values
-
NAMESPACE_SUFFIX
public static final String NAMESPACE_SUFFIX
- See Also:
- Constant Field Values
-
NESTED_SEPARATOR
public static final String NESTED_SEPARATOR
- See Also:
- Constant Field Values
-
GET_PREFIX
public static final String GET_PREFIX
- See Also:
- Constant Field Values
-
IS_PREFIX
public static final String IS_PREFIX
- See Also:
- Constant Field Values
-
HAS_PREFIX
public static final String HAS_PREFIX
- See Also:
- Constant Field Values
-
TARGET
public static final String TARGET
- See Also:
- Constant Field Values
-
IGNORE_SUPERCLASSES
public static final String IGNORE_SUPERCLASSES
- See Also:
- Constant Field Values
-
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
-
IGNORE
public static final String IGNORE
- See Also:
- Constant Field Values
-
PROPERTIES
public static final String PROPERTIES
- See Also:
- Constant Field Values
-
DEFAULT_PRIORITY
public static final int DEFAULT_PRIORITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
builder
public static ValueResolverGenerator.Builder builder()
-
generate
public void generate()
Generate value resolvers for all classes added viaValueResolverGenerator.Builder.addClass(ClassInfo, AnnotationInstance).
-
isSynthetic
public static boolean isSynthetic(int mod)
-
simpleName
public static String simpleName(org.jboss.jandex.ClassInfo clazz)
- Parameters:
clazz-- Returns:
- the simple name for the given top-level or nested class
-
hasCompletionStageInTypeClosure
public static boolean hasCompletionStageInTypeClosure(org.jboss.jandex.ClassInfo classInfo, org.jboss.jandex.IndexView index)
-
hasClassInTypeClosure
public static boolean hasClassInTypeClosure(org.jboss.jandex.ClassInfo classInfo, org.jboss.jandex.DotName className, org.jboss.jandex.IndexView index)
-
isVarArgs
public static boolean isVarArgs(org.jboss.jandex.MethodInfo method)
-
-