Skip navigation links
C D E F I L M O P S V W 

C

clear() - Method in interface org.scalafmt.interfaces.Scalafmt
Clear internal caches such as classloaded Scalafmt instances.
code() - Method in exception org.scalafmt.interfaces.PositionException
 
create(ClassLoader) - Static method in interface org.scalafmt.interfaces.Scalafmt
Classload a new instance of this Scalafmt instance.
createSession(Path) - Method in interface org.scalafmt.interfaces.Scalafmt
Create a ScalafmtSession to format a batch of files using fixed configuration.
createSession(Path) - Method in interface org.scalafmt.interfaces.ScalafmtSessionFactory
Create a ScalafmtSession to format a batch of files using fixed configuration.

D

downloadOutputStreamWriter() - Method in interface org.scalafmt.interfaces.ScalafmtReporter
Use this writer for printing progress while downloading new Scalafmt versions.
downloadWriter() - Method in interface org.scalafmt.interfaces.ScalafmtReporter
Deprecated.

E

endCharacter() - Method in exception org.scalafmt.interfaces.PositionException
 
endLine() - Method in exception org.scalafmt.interfaces.PositionException
 
error(Path, String) - Method in interface org.scalafmt.interfaces.ScalafmtReporter
An error occurred while trying to process this file.
error(Path, Throwable) - Method in interface org.scalafmt.interfaces.ScalafmtReporter
An exception occurred while trying to process this file.
error(Path, String, Throwable) - Method in interface org.scalafmt.interfaces.ScalafmtReporter
An exception occurred while trying to process this file.
exception - Variable in class org.scalafmt.interfaces.ScalafmtResult
 
excluded(Path) - Method in interface org.scalafmt.interfaces.ScalafmtReporter
This file was not formatted because it's excluded by project settings from .scalafmt.conf.

F

file() - Method in exception org.scalafmt.interfaces.PositionException
 
fillInStackTrace() - Method in exception org.scalafmt.interfaces.PositionException
 
findClass(String) - Method in class org.scalafmt.interfaces.ScalafmtClassLoader
 
format(Path, Path, String) - Method in interface org.scalafmt.interfaces.Scalafmt
Format a single file with the given .scalafmt.conf configuration.
format(Path, String) - Method in interface org.scalafmt.interfaces.ScalafmtSession
Format a single file with the given configuration.
formatOrError(Path, String) - Method in interface org.scalafmt.interfaces.ScalafmtSession
Format a single file with the given configuration.

I

isGitOnly() - Method in interface org.scalafmt.interfaces.ScalafmtSession
Whether this configuration intends to limit files to those managed by git.

L

longMessage() - Method in exception org.scalafmt.interfaces.PositionException
 

M

matchesProjectFilters(Path) - Method in interface org.scalafmt.interfaces.ScalafmtSession
Whether the path matches the 'project.{excludeFilters,includeFilters}' setting.
missingVersion(Path, String) - Method in interface org.scalafmt.interfaces.ScalafmtReporter
This .scalafmt.conf file is missing the 'version' setting.

O

org.scalafmt.interfaces - package org.scalafmt.interfaces
 

P

parsedConfig(Path, String) - Method in interface org.scalafmt.interfaces.ScalafmtReporter
Record the configuration file and version used
PositionException - Exception in org.scalafmt.interfaces
An exception that happened at a position in a source file such as a parse error.
PositionException(String, Throwable) - Constructor for exception org.scalafmt.interfaces.PositionException
 

S

Scalafmt - Interface in org.scalafmt.interfaces
A stable public interface to run Scalafmt.
ScalafmtClassLoader - Class in org.scalafmt.interfaces
A classloader that shares only scalafmt-interfaces classes from the parent classloader.
ScalafmtClassLoader(ClassLoader) - Constructor for class org.scalafmt.interfaces.ScalafmtClassLoader
 
ScalafmtException - Exception in org.scalafmt.interfaces
 
ScalafmtException(String, Throwable) - Constructor for exception org.scalafmt.interfaces.ScalafmtException
 
ScalafmtReporter - Interface in org.scalafmt.interfaces
A reporter to handle error and information messages from Scalafmt.
ScalafmtResult - Class in org.scalafmt.interfaces
 
ScalafmtResult(String) - Constructor for class org.scalafmt.interfaces.ScalafmtResult
 
ScalafmtResult(Throwable) - Constructor for class org.scalafmt.interfaces.ScalafmtResult
 
ScalafmtSession - Interface in org.scalafmt.interfaces
A session based on a fixed configuration.
ScalafmtSessionFactory - Interface in org.scalafmt.interfaces
 
shortMessage() - Method in exception org.scalafmt.interfaces.PositionException
 
startCharacter() - Method in exception org.scalafmt.interfaces.PositionException
 
startLine() - Method in exception org.scalafmt.interfaces.PositionException
 

V

value - Variable in class org.scalafmt.interfaces.ScalafmtResult
 

W

withDefaultVersion(String) - Method in interface org.scalafmt.interfaces.Scalafmt
Deprecated.
withMavenRepositories(String...) - Method in interface org.scalafmt.interfaces.Scalafmt
Builder method.
withReporter(ScalafmtReporter) - Method in interface org.scalafmt.interfaces.Scalafmt
Builder method.
withRespectProjectFilters(boolean) - Method in interface org.scalafmt.interfaces.Scalafmt
Builder method.
withRespectVersion(boolean) - Method in interface org.scalafmt.interfaces.Scalafmt
Deprecated.
C D E F I L M O P S V W 
Skip navigation links