- calculateState() - Method in class com.github.autostyle.LazyForwardingEquality
-
This function is guaranteed to be called at most once.
- canonical() - Method in class com.github.autostyle.PaddedCell
-
Returns the “canonical” form for this particular result (only possible if isResolvable).
- check(Formatter, File) - Static method in class com.github.autostyle.PaddedCell
-
Applies the given formatter to the given file, checking that
F(F(input)) == F(input).
- check(Formatter, File, String) - Static method in class com.github.autostyle.PaddedCell
-
- check(File, File, Formatter, List<File>) - Static method in class com.github.autostyle.PaddedCellBulk
-
Performs a full check using PaddedCell logic on the given files with the given formatter.
- clear() - Static method in class com.github.autostyle.AutostyleCache
-
Closes all cached classloaders.
- close() - Method in class com.github.autostyle.Formatter
-
- close() - Method in interface com.github.autostyle.FormatterFunc.Closeable
-
- com.github.autostyle - package com.github.autostyle
-
- com.github.autostyle.annotations - package com.github.autostyle.annotations
-
- com.github.autostyle.generic - package com.github.autostyle.generic
-
- com.github.autostyle.java - package com.github.autostyle.java
-
- com.github.autostyle.kotlin - package com.github.autostyle.kotlin
-
- com.github.autostyle.markdown - package com.github.autostyle.markdown
-
- com.github.autostyle.npm - package com.github.autostyle.npm
-
- com.github.autostyle.scala - package com.github.autostyle.scala
-
- com.github.autostyle.sql - package com.github.autostyle.sql
-
- com.github.autostyle.sql.dbeaver - package com.github.autostyle.sql.dbeaver
-
- com.github.autostyle.xml - package com.github.autostyle.xml
-
- compute(String, File) - Method in class com.github.autostyle.Formatter
-
Returns the result of calling all of the FormatterSteps.
- computeLineEndings(String, File) - Method in class com.github.autostyle.Formatter
-
Applies the appropriate line endings to the given unix content.
- create(String, State, ThrowingEx.Function<State, FormatterFunc>) - Static method in interface com.github.autostyle.FormatterStep
-
- create() - Static method in class com.github.autostyle.generic.EndWithNewlineStep
-
Creates a FormatterStep which forces lines to end with a newline.
- create(IndentStep.Type, int) - Static method in class com.github.autostyle.generic.IndentStep
-
Creates a step which will indent with the given type of whitespace, converting between tabs and spaces at the given ratio.
- create() - Method in enum com.github.autostyle.generic.IndentStep.Type
-
Creates a step which will indent with the given type of whitespace, converting between tabs and spaces at the default ratio.
- create(int) - Method in enum com.github.autostyle.generic.IndentStep.Type
-
- create(String, String, String) - Static method in class com.github.autostyle.generic.ReplaceRegexStep
-
- create(String, CharSequence, CharSequence) - Static method in class com.github.autostyle.generic.ReplaceStep
-
- create() - Static method in class com.github.autostyle.generic.TrimTrailingWhitespaceStep
-
- create(Provisioner) - Static method in class com.github.autostyle.java.GoogleJavaFormatStep
-
Creates a step which formats everything - code, import order, and unused imports.
- create(String, Provisioner) - Static method in class com.github.autostyle.java.GoogleJavaFormatStep
-
Creates a step which formats everything - code, import order, and unused imports.
- create(String, String, Provisioner) - Static method in class com.github.autostyle.java.GoogleJavaFormatStep
-
Creates a step which formats everything - code, import order, and unused imports.
- create(Provisioner) - Static method in class com.github.autostyle.java.RemoveUnusedImportsStep
-
- create(Provisioner) - Static method in class com.github.autostyle.kotlin.KtLintStep
-
- create(String, Provisioner) - Static method in class com.github.autostyle.kotlin.KtLintStep
-
- create(String, Provisioner, Map<String, String>) - Static method in class com.github.autostyle.kotlin.KtLintStep
-
- create(String, Provisioner, boolean, Map<String, String>) - Static method in class com.github.autostyle.kotlin.KtLintStep
-
- create(Provisioner, ThrowingEx.Supplier<Map<String, ?>>) - Static method in class com.github.autostyle.markdown.FreshMarkStep
-
Creates a formatter step for the given version and settings file.
- create(String, ThrowingEx.Supplier<Map<String, ?>>, Provisioner) - Static method in class com.github.autostyle.markdown.FreshMarkStep
-
Creates a formatter step for the given version and settings file.
- create(Provisioner, File, File, PrettierConfig) - Static method in class com.github.autostyle.npm.PrettierFormatterStep
-
Deprecated.
- create(Map<String, String>, Provisioner, File, File, PrettierConfig) - Static method in class com.github.autostyle.npm.PrettierFormatterStep
-
- create(Provisioner, File, File, File, TypedTsFmtConfigFile, Map<String, Object>) - Static method in class com.github.autostyle.npm.TsFmtFormatterStep
-
Deprecated.
- create(Map<String, String>, Provisioner, File, File, TypedTsFmtConfigFile, Map<String, Object>) - Static method in class com.github.autostyle.npm.TsFmtFormatterStep
-
- create(Provisioner) - Static method in class com.github.autostyle.scala.ScalaFmtStep
-
- create(String, Provisioner, File) - Static method in class com.github.autostyle.scala.ScalaFmtStep
-
- create(Iterable<File>) - Static method in class com.github.autostyle.sql.DBeaverSQLFormatterStep
-
- createFormatterFunc() - Method in class com.github.autostyle.npm.PrettierFormatterStep.State
-
- createFormatterFunc() - Method in class com.github.autostyle.npm.TsFmtFormatterStep.State
-
- createForScript(String, Provisioner) - Static method in class com.github.autostyle.kotlin.KtLintStep
-
- createForScript(String, Provisioner, Map<String, String>) - Static method in class com.github.autostyle.kotlin.KtLintStep
-
- createFrom(String...) - Method in class com.github.autostyle.java.ImportOrderStep
-
- createFromOrder(List<String>) - Static method in class com.github.autostyle.java.ImportOrderStep
-
Deprecated.
- createFromOrder(String...) - Static method in class com.github.autostyle.java.ImportOrderStep
-
Deprecated.
- createLazy(String, ThrowingEx.Supplier<State>, ThrowingEx.Function<State, FormatterFunc>) - Static method in interface com.github.autostyle.FormatterStep
-
- createNeverUpToDate(String, FormatterFunc) - Static method in interface com.github.autostyle.FormatterStep
-
- createNeverUpToDateLazy(String, ThrowingEx.Supplier<FormatterFunc>) - Static method in interface com.github.autostyle.FormatterStep
-
- createPolicy(File, Supplier<Iterable<File>>) - Method in enum com.github.autostyle.LineEnding
-
Returns a
LineEnding.Policy appropriate for files which are contained within the given rootFolder.
- createPolicy() - Method in enum com.github.autostyle.LineEnding
-
- file() - Method in class com.github.autostyle.PaddedCell
-
Returns the file which was tested.
- FILE_FILTER - Static variable in class com.github.autostyle.xml.XmlDefaults
-
Deprecated.
Filter based on Eclipse-WTP org.eclipse.core.contenttype.contentTypes
extension org.eclipse.wst.xml.core.xmlsource.
- files() - Method in class com.github.autostyle.FileSignature
-
Returns all of the files in this signature, throwing an exception if there are more or less than 1 file.
- FileSignature - Class in com.github.autostyle
-
Computes a signature for any needed files.
- filterByFile(SerializableFileFilter) - Method in interface com.github.autostyle.FormatterStep
-
Returns a new FormatterStep which will only apply its changes
to files which pass the given filter.
- forGroovy() - Static method in class com.github.autostyle.java.ImportOrderStep
-
- forJava() - Static method in class com.github.autostyle.java.ImportOrderStep
-
- format(String, File) - Method in interface com.github.autostyle.FormatterStep
-
Returns a formatted version of the given content.
- format(State, String, File) - Method in class com.github.autostyle.FormatterStep.Strict
-
- format(String, File) - Method in class com.github.autostyle.FormatterStep.Strict
-
- format(String) - Method in class com.github.autostyle.sql.dbeaver.SQLTokenizedFormatter
-
- format(String) - Method in class com.github.autostyle.sql.DBeaverSQLFormatter
-
- Formatter - Class in com.github.autostyle
-
Formatter which performs the full formatting.
- Formatter.Builder - Class in com.github.autostyle
-
- FormatterException - Exception in com.github.autostyle
-
- FormatterException(String, String, File, Throwable) - Constructor for exception com.github.autostyle.FormatterException
-
- FormatterFunc - Interface in com.github.autostyle
-
A Function<String, String> which can throw an exception.
- FormatterFunc.Closeable - Interface in com.github.autostyle
-
Function<String, String> and BiFunction<String, File, String> whose implementation
requires a resource which should be released when the function is no longer needed.
- FormatterProperties - Class in com.github.autostyle
-
Utility manages settings of formatter configured by properties.
- FormatterStep - Interface in com.github.autostyle
-
An implementation of this class specifies a single step in a formatting process.
- FormatterStep.Strict<State extends java.io.Serializable> - Class in com.github.autostyle
-
Implements a FormatterStep in a strict way which guarantees correct and lazy implementation
of up-to-date checks.
- forNameIgnoreCase(String) - Static method in enum com.github.autostyle.npm.TsConfigFileType
-
- FreshMarkStep - Class in com.github.autostyle.markdown
-
- from(File...) - Static method in class com.github.autostyle.FileSignature
-
Deprecated.
- from(Iterable<File>) - Static method in class com.github.autostyle.FileSignature
-
Deprecated.
- from(File...) - Static method in class com.github.autostyle.FormatterProperties
-
Import settings from a sequence of files (file import is the given order)
- from(Iterable<File>) - Static method in class com.github.autostyle.FormatterProperties
-
Import settings from a sequence of files (file import is the given order)
- from(String, Provisioner) - Static method in class com.github.autostyle.JarState
-
Provisions the given maven coordinate and its transitive dependencies.
- from(Collection<String>, Provisioner) - Static method in class com.github.autostyle.JarState
-
Provisions the given maven coordinates and their transitive dependencies.