Buggy code:
public class ComponentInterceptorAnnotationParsingProcessor extends AbstractComponentConfigProcessor { private static final DotName INTERCEPTORS_ANNOTATION_NAME = DotName . createSimple ( Interceptors . class . getName ( ) ) ; private static final DotName EXCLUDE_DEFAULT_ANNOTATION_NAME = DotName . createSimple ( ExcludeDefaultInterceptors . class . getName ( ) ) ; private static final DotName EXCLUDE_CLASS_ANNOTATION_NAME = DotName . createSimple ( ExcludeClassInterceptors . class . getName ( ) ) ; protected void processComponentConfig ( final DeploymentUnit deploymentUnit , final DeploymentPhaseContext phaseContext , final CompositeIndex index , final AbstractComponentDescription componentConfiguration ) throws DeploymentUnitProcessingException { } private void processInterceptorConfigs ( final ClassInfo classInfo , final String actualClassName , final CompositeIndex index , final AbstractComponentDescription componentConfiguration , boolean actualClass ) throws DeploymentUnitProcessingException { final ClassInfo superClassInfo = index . getClassByName ( classInfo . superName ( ) ) ; final String className = classInfo . name ( ) . toString ( ) ; if ( superClassInfo != null ) { processInterceptorConfigs ( superClassInfo , actualClassName , index , componentConfiguration , false ) ; } final Map < DotName , List < AnnotationInstance > > classAnnotations = classInfo . annotations ( ) ; if ( classAnnotations == null ) { return ; } final List < AnnotationInstance > excludeDefaultAnnotations = classAnnotations . get ( ComponentInterceptorAnnotationParsingProcessor . EXCLUDE_DEFAULT_ANNOTATION_NAME ) ; if ( excludeDefaultAnnotations != null ) { for ( AnnotationInstance annotation : excludeDefaultAnnotations ) { final AnnotationTarget target = annotation . target ( ) ; if ( target instanceof MethodInfo ) { final MethodInfo methodInfo = MethodInfo . class . cast ( target ) ; final MethodIdentifier methodIdentifier = ComponentInterceptorAnnotationParsingProcessor . methodIdentifierFromMethodInfo ( methodInfo ) ; componentConfiguration . excludeDefaultInterceptors ( methodIdentifier ) ; } else { componentConfiguration . setExcludeDefaultInterceptors ( true ) ; } } } final List < AnnotationInstance > excludeClassAnnotations = classAnnotations . get ( ComponentInterceptorAnnotationParsingProcessor . EXCLUDE_CLASS_ANNOTATION_NAME ) ; if ( excludeClassAnnotations != null ) { <START_BUG> for ( AnnotationInstance annotation : excludeDefaultAnnotations ) { <END_BUG> final AnnotationTarget target = annotation . target ( ) ; if ( target instanceof MethodInfo ) { final MethodInfo methodInfo = MethodInfo . class . cast ( target ) ; final MethodIdentifier methodIdentifier = ComponentInterceptorAnnotationParsingProcessor . methodIdentifierFromMethodInfo ( methodInfo ) ; componentConfiguration . excludeClassInterceptors ( methodIdentifier ) ; } else { throw new DeploymentUnitProcessingException ( ( "ExcludeClassInterceptors<seq2seq4repair_space>not<seq2seq4repair_space>applied<seq2seq4repair_space>to<seq2seq4repair_space>method:<seq2seq4repair_space>" + target ) ) ; } } } final List < AnnotationInstance > interceptorAnnotations = classAnnotations . get ( ComponentInterceptorAnnotationParsingProcessor . INTERCEPTORS_ANNOTATION_NAME ) ; if ( ( interceptorAnnotations == null ) || ( interceptorAnnotations . isEmpty ( ) ) ) { return ; } for ( AnnotationInstance annotationInstance : interceptorAnnotations ) { final AnnotationValue value = annotationInstance . value ( ) ; if ( value != null ) for ( Type interceptorClass : value . asClassArray ( ) ) { final ClassInfo interceptorClassInfo = index . getClassByName ( interceptorClass . name ( ) ) ; if ( interceptorClassInfo == null ) { continue ; } final AnnotationTarget target = annotationInstance . target ( ) ; if ( target instanceof MethodInfo ) { final MethodInfo methodInfo = MethodInfo . class . cast ( target ) ; componentConfiguration . addMethodInterceptor ( ComponentInterceptorAnnotationParsingProcessor . methodIdentifierFromMethodInfo ( methodInfo ) , new InterceptorDescription ( interceptorClassInfo . name ( ) . toString ( ) ) ) ; } else { if ( actualClass ) { componentConfiguration . addClassInterceptor ( new InterceptorDescription ( interceptorClassInfo . name ( ) . toString ( ) ) ) ; } } } } } private static MethodIdentifier methodIdentifierFromMethodInfo ( MethodInfo methodInfo ) { } }

Fix:
for ( AnnotationInstance annotation : excludeClassAnnotations ) {