- 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
}
@Override public boolean containsProject(final Resource<?> target) { boolean result = false; if (target.exists()) { Resource<?> child = target.getChild(ConfigurationFacet.CONFIGURATION_FILE); if (child instanceof FileResource && child.exists()) { FileResource<?> projectMetadata = child.reify(FileResource.class); ConfigurationFactory configFactory = SimpleContainer .getServices(getClass().getClassLoader(), ConfigurationFactory.class).get(); result = GenericMetadataFacet.isInstalled(configFactory.getConfiguration(projectMetadata)); } } return result; }