- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {SimpleDateFormat s =
String pattern;new SimpleDateFormat(pattern)
String template;Locale locale;new SimpleDateFormat(template, locale)
new SimpleDateFormat()
- Smart code suggestions by Codota
}
public Set<Class<?>> loadModels(String... packageNames) throws Exception { Set<Class<?>> results = resolver.findAnnotated(annotations, packageNames); //TODO; this logic could be moved into the PackageScanClassResolver by creating: // findAnnotated(annotations, packageNames, filter) Set<Class<?>> resultsToRemove = new HashSet<>(); if (filter != null) { for (Class<?> clazz : results) { if (!filter.matches(clazz)) { resultsToRemove.add(clazz); } } } results.removeAll(resultsToRemove); return results; }