public class SubclassGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static io.quarkus.gizmo.FieldDescriptor |
FIELD_METADATA_BINDINGS |
protected static io.quarkus.gizmo.FieldDescriptor |
FIELD_METADATA_CHAIN |
protected static io.quarkus.gizmo.FieldDescriptor |
FIELD_METADATA_METHOD |
protected static String |
FIELD_NAME_METADATA |
protected static String |
FIELD_NAME_PREDESTROYS |
protected boolean |
generateSources |
| Constructor and Description |
|---|
SubclassGenerator(AnnotationLiteralProcessor annotationLiterals,
Predicate<org.jboss.jandex.DotName> applicationClassPredicate,
boolean generateSources,
ReflectionRegistration reflectionRegistration,
Set<String> existingClasses) |
| Modifier and Type | Method and Description |
|---|---|
protected io.quarkus.gizmo.FieldDescriptor |
createConstructor(io.quarkus.gizmo.ClassOutput classOutput,
BeanInfo bean,
io.quarkus.gizmo.ClassCreator subclass,
String providerTypeName,
ReflectionRegistration reflectionRegistration) |
protected void |
createDestroy(io.quarkus.gizmo.ClassOutput classOutput,
BeanInfo bean,
io.quarkus.gizmo.ClassCreator subclass,
io.quarkus.gizmo.FieldDescriptor preDestroysField) |
protected String |
getBaseName(BeanInfo bean,
String beanClassName) |
protected String |
getPackageName(BeanInfo bean) |
protected boolean |
isPackagePrivate(int mod) |
protected boolean |
isReflectionFallbackNeeded(org.jboss.jandex.FieldInfo field,
String targetPackage) |
protected boolean |
isReflectionFallbackNeeded(org.jboss.jandex.MethodInfo method,
String targetPackage) |
protected static final String FIELD_NAME_PREDESTROYS
protected static final String FIELD_NAME_METADATA
protected static final io.quarkus.gizmo.FieldDescriptor FIELD_METADATA_METHOD
protected static final io.quarkus.gizmo.FieldDescriptor FIELD_METADATA_CHAIN
protected static final io.quarkus.gizmo.FieldDescriptor FIELD_METADATA_BINDINGS
protected final boolean generateSources
public SubclassGenerator(AnnotationLiteralProcessor annotationLiterals, Predicate<org.jboss.jandex.DotName> applicationClassPredicate, boolean generateSources, ReflectionRegistration reflectionRegistration, Set<String> existingClasses)
protected io.quarkus.gizmo.FieldDescriptor createConstructor(io.quarkus.gizmo.ClassOutput classOutput,
BeanInfo bean,
io.quarkus.gizmo.ClassCreator subclass,
String providerTypeName,
ReflectionRegistration reflectionRegistration)
protected void createDestroy(io.quarkus.gizmo.ClassOutput classOutput,
BeanInfo bean,
io.quarkus.gizmo.ClassCreator subclass,
io.quarkus.gizmo.FieldDescriptor preDestroysField)
classOutput - bean - subclass - preDestroysField - protected boolean isReflectionFallbackNeeded(org.jboss.jandex.MethodInfo method,
String targetPackage)
protected boolean isReflectionFallbackNeeded(org.jboss.jandex.FieldInfo field,
String targetPackage)
protected boolean isPackagePrivate(int mod)
Copyright © 2021 JBoss by Red Hat. All rights reserved.