private < T > List < Class < ? > > filter ( List < Class < ? > > enabledClasses , List < Class < ? > > globallyEnabledClasses , LogMessageCallback logMessageCallback , BeanDeployment deployment ) { for ( Iterator < Class < ? > > iterator = enabledClasses . iterator ( ) ; iterator . hasNext ( ) ; ) { Class < ? > enabledClass = iterator . next ( ) ; if ( globallyEnabledClasses . contains ( enabledClass ) ) { logMessageCallback . log ( enabledClass , deployment . getBeanDeploymentArchive ( ) . getId ( ) ) ; iterator . remove ( ) ; } } return enabledClasses ; }
Filter out interceptors and decorators which are also enabled globally .