For IntelliJ IDEA,
Android Studio or Eclipse



private void myMethod () {ResourceDescriptionResolver r =
String keyPrefix;EeExtension.getResourceDescriptionResolver(keyPrefix)
String keyPrefix;ResourceAdaptersExtension.getResourceDescriptionResolver(keyPrefix)
String keyPrefix;NamingExtension.getResourceDescriptionResolver(keyPrefix)
- Smart code suggestions by Codota
}
@Override public String getResourceDeprecatedDescription(Locale locale, ResourceBundle bundle) { for (PathElement path : this.paths) { String key = this.getBundleKey(path, ModelDescriptionConstants.DEPRECATED); if (bundle.containsKey(key)) { return bundle.getString(key); } } return this.parent.getResourceDeprecatedDescription(locale, bundle); }
@Override public String getResourceDeprecatedDescription(Locale locale, ResourceBundle bundle) { for (PathElement path : this.paths) { String key = this.getBundleKey(path, ModelDescriptionConstants.DEPRECATED); if (bundle.containsKey(key)) { return bundle.getString(key); } } return this.parent.getResourceDeprecatedDescription(locale, bundle); }
deprecated.get(ModelDescriptionConstants.REASON).set(descriptionResolver.getResourceDeprecatedDescription(locale, bundle));
deprecated.get(ModelDescriptionConstants.REASON).set(descriptionResolver.getResourceDeprecatedDescription(locale, bundle));
deprecated.get(ModelDescriptionConstants.REASON).set(descriptionResolver.getResourceDeprecatedDescription(locale, bundle));