List of usage examples for org.eclipse.jdt.core JavaCore JavaCore
public JavaCore()
From source file:com.diffplug.spotless.extra.eclipse.java.EclipseJdtFormatterStepImpl.java
License:Apache License
public EclipseJdtFormatterStepImpl(Properties settings) throws Exception { SpotlessEclipseFramework.setup(plugins -> { plugins.applyDefault();/*from w w w . j a v a2 s . c om*/ plugins.add(new JavaCore()); }); this.codeFormatter = ToolFactory.createCodeFormatter(settings, ToolFactory.M_FORMAT_EXISTING); }