Uses of Class
de.skuzzle.enforcer.restrictimports.parser.ParsedFile
-
Packages that use ParsedFile Package Description de.skuzzle.enforcer.restrictimports.parser de.skuzzle.enforcer.restrictimports.parser.lang -
-
Uses of ParsedFile in de.skuzzle.enforcer.restrictimports.parser
Methods in de.skuzzle.enforcer.restrictimports.parser that return ParsedFile Modifier and Type Method Description ParsedFileParsedFile. andAddAnnotation(Annotation... furtherAnnotations)Returns a newParsedFilewith identical information as this one but merging this file's annotations with the provided annotations.static ParsedFileParsedFile. failedToParse(Path path, Annotation... annotations)Creates aParsedFilefor the situation where the file could not be parsed at all (technical problem occurred while parsing).ParsedFileImportStatementParser. parse(Path sourceFilePath)Parses the given source file using the givenLanguageSupportimplementation to recognize import statements.static ParsedFileParsedFile. successful(Path path, String declaredPackage, String fqcn, Collection<ImportStatement> imports)Creates aParsedFilefor a source file that was parsed successfully. -
Uses of ParsedFile in de.skuzzle.enforcer.restrictimports.parser.lang
Methods in de.skuzzle.enforcer.restrictimports.parser.lang that return ParsedFile Modifier and Type Method Description ParsedFileJavaLanguageSupport. parseCompilationUnit(Path sourceFilePath, Charset charset)default ParsedFileLanguageSupport. parseCompilationUnit(Path sourceFilePath, Charset charset)Called only whenLanguageSupport.parseFullCompilationUnitSupported()returns true.
-