/* Helper method used to calculate the base name and package name for
* the bundle into which this annotation will have it's information
* written to. */
private void _calculateNames(VariableElement ele, I18NMessage msg) {
Class<I18NResourceBundle> bClz = I18NResourceBundle.class;
I18NResourceBundle rb = ele.getEnclosingElement().getAnnotation(bClz);
String name;
String pack;
if (rb != null) {
name = rb.bundleName();
pack = rb.packageName();
} else {
Elements eUtils = _pe.getElementUtils();
pack = eUtils.getPackageOf(ele).getQualifiedName().toString();
name = ele.getEnclosingElement().getSimpleName().toString();