@ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault
| Interface | Description |
|---|---|
| FormatExceptionPolicy |
A policy for handling exceptions in the format.
|
| FormatterFunc |
A
Function<String, String> which can throw an exception. |
| FormatterFunc.Closeable |
Function<String, String> and BiFunction<String, File, String> whose implementation requires a resource which should be released when the function is no longer needed. |
| FormatterStep |
An implementation of this class specifies a single step in a formatting process.
|
| LineEnding.Policy |
A policy for line endings which can vary based on the specific file being requested.
|
| NoLambda |
Marker interface to prevent lambda implementations of single-method interfaces that require serializability.
|
| Provisioner |
Many spotless steps require third-party libraries, but we want to keep Spotless’ dependencies minimal.
|
| SerializableFileFilter |
A file filter with full support for serialization.
|
| ThrowingEx.BiFunction<T1,T2,R> |
A bi-function that can throw any exception.
|
| ThrowingEx.Function<T,R> |
A function that can throw any exception.
|
| ThrowingEx.Runnable |
A runnable that can throw any exception.
|
| ThrowingEx.Supplier<T> |
A supplier that can throw any exception.
|
| Class | Description |
|---|---|
| FileSignature |
Computes a signature for any needed files.
|
| FormatExceptionPolicyStrict |
A policy for handling exceptions in the format.
|
| Formatter |
Formatter which performs the full formatting.
|
| Formatter.Builder | |
| FormatterProperties |
Utility manages settings of formatter configured by properties.
|
| FormatterStep.Strict<State extends Serializable> |
Implements a FormatterStep in a strict way which guarantees correct and lazy implementation of up-to-date checks.
|
| JarState |
Grabs a jar and its dependencies from maven, and makes it easy to access the collection in a classloader.
|
| LazyForwardingEquality<T extends Serializable> |
Implements equality, hashcode, and serialization entirely in terms of lazily-computed state.
|
| NoLambda.EqualityBasedOnSerialization |
An implementation of NoLambda in which equality is based on the serialized representation of itself.
|
| PaddedCell | |
| PaddedCellBulk |
Incorporates the PaddedCell machinery into broader apply / check usage.
|
| SpotlessCache |
Spotless’ global cache.
|
| ThrowingEx |
Basic functional interfaces which throw exception, along with static helper methods for calling them.
|
| Enum | Description |
|---|---|
| LineEnding |
Represents the line endings which should be written by the tool.
|
| PaddedCell.Type |
The kind of result.
|
| Exception | Description |
|---|---|
| ThrowingEx.WrappedAsRuntimeException |
A RuntimeException specifically for the purpose of wrapping non-runtime Exceptions as RuntimeExceptions.
|