private static final String findBundlePath(Class<?> forClass) { String path = forClass.getName(); if (tryBundlePath(forClass, path)) return path; path = forClass.getPackage().getName() + ".nls." + forClass.getSimpleName(); if (tryBundlePath(forClass, path)) return path; path = forClass.getPackage().getName() + ".i18n." + forClass.getSimpleName(); if (tryBundlePath(forClass, path)) return path; return null; }
private static final String findBundlePath(Class<?> forClass) { String path = forClass.getName(); if (tryBundlePath(forClass, path)) return path; path = forClass.getPackage().getName() + ".nls." + forClass.getSimpleName(); if (tryBundlePath(forClass, path)) return path; path = forClass.getPackage().getName() + ".i18n." + forClass.getSimpleName(); if (tryBundlePath(forClass, path)) return path; return null; }
private static final String findBundlePath(Class<?> forClass) { String path = forClass.getName(); if (tryBundlePath(forClass, path)) return path; path = forClass.getPackage().getName() + ".nls." + forClass.getSimpleName(); if (tryBundlePath(forClass, path)) return path; path = forClass.getPackage().getName() + ".i18n." + forClass.getSimpleName(); if (tryBundlePath(forClass, path)) return path; return null; }