public class InterceptorGenerator extends BeanGenerator
| Modifier and Type | Field and Description |
|---|---|
protected static String |
FIELD_NAME_BINDINGS |
protected boolean |
generateSources |
annotationLiterals, applicationClassPredicate, beanToGeneratedName, existingClasses, FIELD_NAME_BEAN_TYPES, FIELD_NAME_DECLARING_PROVIDER_SUPPLIER, FIELD_NAME_PARAMS, FIELD_NAME_PROXY, FIELD_NAME_QUALIFIERS, FIELD_NAME_STEREOTYPES, injectionPointAnnotationsPredicate, privateMembers, reflectionRegistration| Constructor and Description |
|---|
InterceptorGenerator(AnnotationLiteralProcessor annotationLiterals,
Predicate<org.jboss.jandex.DotName> applicationClassPredicate,
io.quarkus.arc.processor.BeanProcessor.PrivateMembersCollector privateMembers,
boolean generateSources,
ReflectionRegistration reflectionRegistration,
Set<String> existingClasses,
Map<BeanInfo,String> beanToGeneratedName,
Predicate<org.jboss.jandex.DotName> injectionPointAnnotationsPredicate) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createConstructor(io.quarkus.gizmo.ClassOutput classOutput,
io.quarkus.gizmo.ClassCreator creator,
InterceptorInfo interceptor,
String baseName,
Map<InjectionPointInfo,String> injectionPointToProviderField,
Map<InterceptorInfo,String> interceptorToProviderField,
io.quarkus.gizmo.FieldDescriptor bindings,
ReflectionRegistration reflectionRegistration) |
protected String |
getBaseName(BeanInfo bean,
String beanClassName) |
protected String |
getPackageName(BeanInfo bean) |
protected void |
implementGetInterceptorBindings(io.quarkus.gizmo.ClassCreator creator,
io.quarkus.gizmo.FieldDescriptor bindingsField) |
protected void |
implementGetPriority(io.quarkus.gizmo.ClassCreator creator,
InterceptorInfo interceptor) |
protected void |
implementIntercept(io.quarkus.gizmo.ClassCreator creator,
InterceptorInfo interceptor,
io.quarkus.arc.processor.BeanGenerator.ProviderType providerType,
ReflectionRegistration reflectionRegistration,
boolean isApplicationClass) |
protected void |
implementIntercepts(io.quarkus.gizmo.ClassCreator creator,
InterceptorInfo interceptor) |
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) |
createConstructor, createProviderFields, implementCreate, implementDestroy, implementEquals, implementGet, implementGetAlternativePriority, implementGetBeanClass, implementGetDeclaringBean, implementGetIdentifier, implementGetKind, implementGetName, implementGetQualifiers, implementGetScope, implementGetStereotypes, implementGetTypes, implementHashCode, implementIsDefaultBean, implementSupplierGet, initConstructor, initMapsprotected static final String FIELD_NAME_BINDINGS
protected final boolean generateSources
public InterceptorGenerator(AnnotationLiteralProcessor annotationLiterals, Predicate<org.jboss.jandex.DotName> applicationClassPredicate, io.quarkus.arc.processor.BeanProcessor.PrivateMembersCollector privateMembers, boolean generateSources, ReflectionRegistration reflectionRegistration, Set<String> existingClasses, Map<BeanInfo,String> beanToGeneratedName, Predicate<org.jboss.jandex.DotName> injectionPointAnnotationsPredicate)
protected void createConstructor(io.quarkus.gizmo.ClassOutput classOutput,
io.quarkus.gizmo.ClassCreator creator,
InterceptorInfo interceptor,
String baseName,
Map<InjectionPointInfo,String> injectionPointToProviderField,
Map<InterceptorInfo,String> interceptorToProviderField,
io.quarkus.gizmo.FieldDescriptor bindings,
ReflectionRegistration reflectionRegistration)
protected void implementGetInterceptorBindings(io.quarkus.gizmo.ClassCreator creator,
io.quarkus.gizmo.FieldDescriptor bindingsField)
Interceptor.getInterceptorBindings()protected void implementGetPriority(io.quarkus.gizmo.ClassCreator creator,
InterceptorInfo interceptor)
Prioritized.getPriority()protected void implementIntercepts(io.quarkus.gizmo.ClassCreator creator,
InterceptorInfo interceptor)
Interceptor.intercepts(javax.enterprise.inject.spi.InterceptionType)protected void implementIntercept(io.quarkus.gizmo.ClassCreator creator,
InterceptorInfo interceptor,
io.quarkus.arc.processor.BeanGenerator.ProviderType providerType,
ReflectionRegistration reflectionRegistration,
boolean isApplicationClass)
Interceptor.intercept(InterceptionType, Object, javax.interceptor.InvocationContext)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.