Package com.diffplug.spotless.maven.cpp
Class Cpp
java.lang.Object
com.diffplug.spotless.maven.FormatterFactory
com.diffplug.spotless.maven.cpp.Cpp
A
FormatterFactory implementation that corresponds to <cpp>...</cpp> configuration element.
It defines a formatter for java source files that can execute both language agnostic (e.g. LicenseHeader)
and cpp-specific (e.g. EclipseCdt) steps.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClangFormat(Clang clang) voidaddEclipseCdt(EclipseCdt eclipse) defaultIncludes(org.apache.maven.project.MavenProject project) Methods inherited from class com.diffplug.spotless.maven.FormatterFactory
addEclipseWtp, addEndWithNewline, addIdea, addIndent, addJsr223, addLicenseHeader, addNativeCmd, addPrettier, addReplace, addReplaceRegex, addStepFactory, addToggleOffOn, addTrimTrailingWhitespace, excludes, includes, init, newFormatter
-
Constructor Details
-
Cpp
public Cpp()
-
-
Method Details
-
defaultIncludes
- Specified by:
defaultIncludesin classFormatterFactory
-
addEclipseCdt
-
addClangFormat
-
licenseHeaderDelimiter
- Specified by:
licenseHeaderDelimiterin classFormatterFactory
-