/* 65 */ Method method = null;
/* 66 */ if ((type instanceof Method)) {
/* 67 */ method = (Method)type;
/* */ }
/* 69 */ String ejbName = (String)EjbNameThreadLocal.ejbName.get();
/* 70 */ InterceptorBindingMetaData interceptor = new InterceptorBindingMetaData();
/* 71 */ interceptor.setEjbName(ejbName);
/* 72 */ interceptor.setExcludeClassInterceptors(excludeClass != null);
/* 73 */ interceptor.setExcludeDefaultInterceptors(excludeDefaults != null);
/* 74 */ if (method != null)
/* */ {
/* 76 */ NamedMethodMetaData namedMethod = new NamedMethodMetaData();
/* 77 */ namedMethod.setMethodName(method.getName());
/* 78 */ MethodParametersMetaData methodParams = ProcessorUtils.getMethodParameters(method);
/* 79 */ namedMethod.setMethodParams(methodParams);
/* 80 */ interceptor.setMethod(namedMethod);
/* */ }
/* 82 */ InterceptorClassesMetaData classes = new InterceptorClassesMetaData();
/* 83 */ for (Class c : interceptors.value())
/* */ {
/* 85 */ classes.add(c.getName());
/* */ }
/* 87 */ interceptor.setInterceptorClasses(classes);
/* */
/* 89 */ Descriptions descriptions = ProcessorUtils.getDescription("@Interceptors for: " + type);
/* 90 */ interceptor.setDescriptions(descriptions);
/* 91 */ metaData.add(interceptor);
/* */ }