classURI = new URI(annotatedClassName.replace('.', '/'));
} catch (final URISyntaxException ignore) {}
final String handlerChainConfigFileResourcePath = classURI.resolve(handlerChainConfigFile).toString();
final VirtualFile config = resourceRoot.getRoot().getChild(handlerChainConfigFileResourcePath);
if (config.exists() && config.isFile()) {
return config.openStream();
}
throw MESSAGES.missingHandlerChainConfigFile(handlerChainConfigFileResourcePath, resourceRoot);
}
}