public void addMethodInterceptor(MethodIdentifier method, InterceptorDescription description) {
        //we do not add method level interceptors to the set of interceptor classes,
        //as their around invoke annotations
        List<InterceptorDescription> interceptors = methodInterceptors.get(method);
        if (interceptors == null) {
            methodInterceptors.put(method, interceptors = new ArrayList<InterceptorDescription>());
        }
        final String name = description.getInterceptorClassName();
        // add the interceptor class to the EEModuleDescription
        interceptors.add(description);
        this.allInterceptors = null;
    }
public void addMethodInterceptor(MethodIdentifier method, InterceptorDescription description) {
        
        
        List<InterceptorDescription> interceptors = methodInterceptors.get(method);
        if (interceptors == null) {
            methodInterceptors.put(method, interceptors = new ArrayList<InterceptorDescription>());
        }
        final String name = description.getInterceptorClassName();
        
        interceptors.add(description);
        this.allInterceptors = null;
    }
public void addMethodInterceptor ( MethodIdentifier method , InterceptorDescription description ) { //we do not add method level interceptors to the set of interceptor classes, //as their around invoke annotations List < InterceptorDescription > interceptors = methodInterceptors . get ( method ) ; if ( interceptors == null ) { methodInterceptors . put ( method , interceptors = new ArrayList < InterceptorDescription > ( ) ) ; } final String name = description . getInterceptorClassName ( ) ; // add the interceptor class to the EEModuleDescription interceptors . add ( description ) ; this . allInterceptors = null ; }
Add a method interceptor class name.

@param method      the method
@param description the interceptor descriptor
Add a method interceptor class name .