}
String resourceName = capitalize(resource.getName());
String packageName = resource.getNamespace();
JPackage clientPackage = (packageName == null || packageName.isEmpty()) ? getPackage() : getPackage(packageName);
JDefinedClass facadeClass;
if (_config.isRestli2Format())
{
facadeClass = clientPackage._class(resourceName + REQUEST_BUILDERS);
}
else
{
facadeClass = clientPackage._class(resourceName + BUILDERS);
}
annotate(facadeClass, sourceFile);
final JFieldVar baseUriField;
final JFieldVar requestOptionsField;