{"modulePath":"github.com/symflower/eval-dev-quality","version":"v1.1.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package java\n\n## Types\n\n```go\ntype Language struct{}\n```\nLanguage holds a Java language to evaluate a repository.\n\n```go\nfunc (l *Language) DefaultFileExtension() string\n```\nDefaultFileExtension returns the default file extension.\n\n```go\nfunc (l *Language) DefaultTestFileSuffix() string\n```\nDefaultTestFileSuffix returns the default test file suffix.\n\n```go\nfunc (l *Language) ExecuteTests(logger *log.Logger, repositoryPath string) (testResult *language.TestResult, problems []error, err error)\n```\nExecuteTests invokes the language specific testing on the given repository.\n\n```go\nfunc (l *Language) Files(logger *log.Logger, repositoryPath string) (filePaths []string, err error)\n```\nFiles returns a list of relative file paths of the repository that should be evaluated.\n\n```go\nfunc (l *Language) ID() (id string)\n```\nID returns the unique ID of this language.\n\n```go\nfunc (l *Language) ImportPath(projectRootPath string, filePath string) (importPath string)\n```\nImportPath returns the import path of the given source file.\n\n```go\nfunc (l *Language) Mistakes(logger *log.Logger, repositoryPath string) (mistakes []string, err error)\n```\nMistakes builds a Java repository and returns the list of mistakes found.\n\n```go\nfunc (l *Language) Name() (id string)\n```\nName is the prose name of this language.\n\n```go\nfunc (l *Language) SupportsFix() bool\n```\nSupportsFix reports if the language is supported by \"symflower fix\".\n\n```go\nfunc (l *Language) SupportsTemplate() bool\n```\nSupportsTemplate reports if the language is supported by \"symflower unit-test-skeleton\".\n\n```go\nfunc (l *Language) TestFilePath(projectRootPath string, filePath string) (testFilePath string)\n```\nTestFilePath returns the file path of a test file given the corresponding file path of the test's source file.\n\n```go\nfunc (l *Language) TestFramework() (testFramework string)\n```\nTestFramework returns the human-readable name of the test framework that should be used.\n\n","path":"github.com/symflower/eval-dev-quality/language/java","name":"java","synopsis":"","isRedistributable":true}
