org_apache_struts2_session_StrutsJUnit4SessionTestCaseTest_java
com.opensymphony.xwork2.config.providers.InterceptorBuilder
public static List<InterceptorMapping> constructInterceptorReference(InterceptorLocator interceptorLocator, String refName, Map<String, String> refParams, Location location, ObjectFactory objectFactory) throws ConfigurationException {
        Object referencedConfig = interceptorLocator.getInterceptorConfig(refName);
        List<InterceptorMapping> result = new ArrayList<InterceptorMapping>();
        if (referencedConfig == null) {
            throw new ConfigurationException("Unable to find interceptor class referenced by ref-name " + refName, (Object)location);
        }
        if (referencedConfig instanceof InterceptorConfig) {
            InterceptorConfig config = (InterceptorConfig)referencedConfig;
            try {
                Interceptor inter = objectFactory.buildInterceptor(config, refParams);
                result.add(new InterceptorMapping(refName, inter, refParams));
            }
            catch (ConfigurationException ex) {
                LOG.warn(new ParameterizedMessage("Unable to load config class {} at {} probably due to a missing jar, which might be fine if you never plan to use the {} interceptor", config.getClassName(), ex.getLocation(), config.getName()), (Throwable)ex);
            }
        } else if (referencedConfig instanceof InterceptorStackConfig) {
            InterceptorStackConfig stackConfig = (InterceptorStackConfig)referencedConfig;
            if (refParams != null && refParams.size() > 0) {
                result = InterceptorBuilder.constructParameterizedInterceptorReferences(interceptorLocator, stackConfig, refParams, objectFactory);
            } else {
                result.addAll(stackConfig.getInterceptors());
            }
        } else {
            LOG.error("Got unexpected type for interceptor {}. Got {}", (Object)refName, referencedConfig);
        }
        return result;
    }
 -> java.util.List.isEmpty(): boolean -> java.util.Map.putAll(java.util.Map): void -> java.util.Map.get(java.lang.Object): java.lang.Object -> java.util.Map.size(): int -> java.util.List.addAll(java.util.Collection): boolean
 [CALL] [CALL] [CALL] -> java.util.List.isEmpty(): boolean [CALL] [EXIT] -> java.util.Map.putAll(java.util.Map): void [EXIT] -> java.util.Map.get(java.lang.Object): java.lang.Object [EXIT] -> java.util.Map.size(): int [CALL] [EXIT] -> java.util.List.addAll(java.util.Collection): boolean [EXIT]