Uses of Class
ninja.diagnostics.SourceSnippet
-
Packages that use SourceSnippet Package Description ninja.diagnostics -
-
Uses of SourceSnippet in ninja.diagnostics
Methods in ninja.diagnostics that return SourceSnippet Modifier and Type Method Description static SourceSnippet
SourceSnippetHelper. readFromFile(File file, int lineFrom, int lineTo)
static SourceSnippet
SourceSnippetHelper. readFromQualifiedSourceCodePath(File baseDirectory, String packageName, String fileName, int lineFrom, int lineTo)
static SourceSnippet
SourceSnippetHelper. readFromRelativeFilePath(File baseDirectory, String templateRelativePath, int lineFrom, int lineTo)
static SourceSnippet
DiagnosticErrorBuilder. tryToReadSourceSnippet(String sourceRelativePath, int lineFrom, int lineTo)
static SourceSnippet
DiagnosticErrorBuilder. tryToReadSourceSnippetInPackage(String packageName, String fileName, int lineFrom, int lineTo)
Methods in ninja.diagnostics with parameters of type SourceSnippet Modifier and Type Method Description static DiagnosticError
DiagnosticErrorBuilder. buildDiagnosticError(String title, Throwable throwable, SourceSnippet snippet, int lineNumberOfError, Result underlyingResult)
-