}
public <T> void defineInterceptor(ManagedBeanCreatorImpl<T> managedBeanCreator, ProcessInjectionTarget<T> injectionTargetEvent)
{
Class<?> clazz = injectionTargetEvent.getAnnotatedType().getJavaClass();
AnnotatedType annotatedType = injectionTargetEvent.getAnnotatedType();
if (webBeansContext.getInterceptorsManager().isInterceptorEnabled(clazz))
{
ManagedBean<T> component;
webBeansContext.getInterceptorUtil().checkInterceptorConditions(annotatedType);
component = defineManagedBean(managedBeanCreator, injectionTargetEvent, false);
if (component != null)
{
Annotation[] anns = annotatedType.getAnnotations().toArray(new Annotation[annotatedType.getAnnotations().size()]);
webBeansContext.getWebBeansInterceptorConfig().configureInterceptorClass(component,
webBeansContext.getAnnotationManager().getInterceptorBindingMetaAnnotations(anns));
}
else
{