A B C D E F G H I J K L M O P Q R S T V W 
All Classes All Packages

A

add(String, Object) - Method in class de.skuzzle.enforcer.restrictimports.util.StringRepresentation
 
allowedImportMatches(String) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
analysedFiles() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
The number of files that have been analysed.
analyze(AnalyzerSettings, BannedImportGroups) - Method in interface de.skuzzle.enforcer.restrictimports.analyze.SourceTreeAnalyzer
Analyzes all java classes found recursively in the given root directories for matches of banned imports.
AnalyzeResult - Class in de.skuzzle.enforcer.restrictimports.analyze
Final result of analyzing the code base for banned imports.
AnalyzeResult.Builder - Class in de.skuzzle.enforcer.restrictimports.analyze
 
AnalyzerSettings - Class in de.skuzzle.enforcer.restrictimports.analyze
Defines context information for the SourceTreeAnalyzer.
AnalyzerSettings.Builder - Class in de.skuzzle.enforcer.restrictimports.analyze
 
andAddAnnotation(Annotation...) - Method in class de.skuzzle.enforcer.restrictimports.parser.ParsedFile
Returns a new ParsedFile with identical information as this one but merging this file's annotations with the provided annotations.
Annotation - Class in de.skuzzle.enforcer.restrictimports.parser
Represents additional findings that shall be reported for an encountered file.

B

BannedImportDefinitionException - Exception in de.skuzzle.enforcer.restrictimports.analyze
Thrown in case a BannedImportGroup was not properly configured by the user.
BannedImportGroup - Class in de.skuzzle.enforcer.restrictimports.analyze
Holds the user configured information of what imports should be banned including all further meta information like base packages, allowed imports and excluded classes.
BannedImportGroup.Builder - Class in de.skuzzle.enforcer.restrictimports.analyze
 
BannedImportGroupDefinition - Class in org.apache.maven.plugins.enforcer
 
BannedImportGroupDefinition() - Constructor for class org.apache.maven.plugins.enforcer.BannedImportGroupDefinition
 
BannedImportGroups - Class in de.skuzzle.enforcer.restrictimports.analyze
Groups multiple BannedImportGroup objects.
BannedImportGroups.Builder - Class in de.skuzzle.enforcer.restrictimports.analyze
 
bannedImportsFound() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
Returns whether at least one banned import has been found within the analyzed compile OR test source files.
bannedImportsInCompileCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
Returns whether at least one banned import has been found within the analyzed compile source code.
bannedImportsInTestCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
Returns whether at least one banned import has been found within the analyzed test source code.
bannedImportsOrWarningsFound() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
Returns wheter either a warning or a banned import has been found in any source root
basePackageMatches(String) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
build() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult.Builder
 
build() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings.Builder
 
build() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
Assembles the BannedImportGroup from this builder.
build() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroups.Builder
 
build() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile.Builder
Creates the MatchedFile instance.
builder() - Static method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
 
builder() - Static method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 
builder() - Static method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
builder() - Static method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroups
 
Builder() - Constructor for class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroups.Builder
 

C

checkArgument(boolean) - Static method in class de.skuzzle.enforcer.restrictimports.util.Preconditions
 
checkArgument(boolean, String, Object...) - Static method in class de.skuzzle.enforcer.restrictimports.util.Preconditions
 
checkState(boolean) - Static method in class de.skuzzle.enforcer.restrictimports.util.Preconditions
 
checkState(boolean, String, Object...) - Static method in class de.skuzzle.enforcer.restrictimports.util.Preconditions
 
compareTo(PackagePattern) - Method in class de.skuzzle.enforcer.restrictimports.analyze.PackagePattern
 
createGroupFromPluginConfiguration() - Method in class org.apache.maven.plugins.enforcer.BannedImportGroupDefinition
 

D

de.skuzzle.enforcer.restrictimports.analyze - package de.skuzzle.enforcer.restrictimports.analyze
 
de.skuzzle.enforcer.restrictimports.formatting - package de.skuzzle.enforcer.restrictimports.formatting
 
de.skuzzle.enforcer.restrictimports.parser - package de.skuzzle.enforcer.restrictimports.parser
 
de.skuzzle.enforcer.restrictimports.parser.lang - package de.skuzzle.enforcer.restrictimports.parser.lang
 
de.skuzzle.enforcer.restrictimports.util - package de.skuzzle.enforcer.restrictimports.util
 
duration() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
How long the analysis took, in ms.

E

enableParallelAnalysis(boolean) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings.Builder
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroups
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedImport
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.analyze.PackagePattern
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.analyze.Warning
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.parser.Annotation
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.parser.ImportStatement
 
equals(Object) - Method in class de.skuzzle.enforcer.restrictimports.parser.ParsedFile
 
exclusionMatches(String) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
execute(EnforcerRuleHelper) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 

F

failedToParse(Path, Annotation...) - Static method in class de.skuzzle.enforcer.restrictimports.parser.ParsedFile
Creates a ParsedFile for the situation where the file could not be parsed at all (technical problem occurred while parsing).
forCharset(Charset, boolean) - Static method in interface de.skuzzle.enforcer.restrictimports.parser.ImportStatementParser
Constructs a default instance of the parser which uses the provided charset.
formatMatches(Collection<Path>, AnalyzeResult) - Method in interface de.skuzzle.enforcer.restrictimports.formatting.MatchFormatter
 
forSourceFile(Path) - Static method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
Constructs a MatchedFile

G

getAllDirectories() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
Returns the union of AnalyzerSettings.getSrcDirectories() and getTestDirectories.
getAllowedImports() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
getAnnotations() - Method in class de.skuzzle.enforcer.restrictimports.parser.ParsedFile
A list of findings in this file apart from banned imports.
getBannedImports() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
getBasePackages() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
getCacheId() - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
getExclusions() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
getFqcn() - Method in class de.skuzzle.enforcer.restrictimports.parser.ImportStatement
 
getFqcn() - Method in class de.skuzzle.enforcer.restrictimports.parser.ParsedFile
 
getImportLine() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedImport
The physical line within the source file in which the import has been matched.
getImportName() - Method in class de.skuzzle.enforcer.restrictimports.parser.ImportStatement
Returns the import name including the 'static ' prefix if this represents a static import.
getImports() - Method in class de.skuzzle.enforcer.restrictimports.parser.ParsedFile
 
getInstance() - Static method in interface de.skuzzle.enforcer.restrictimports.analyze.SourceTreeAnalyzer
Creates a new SourceTreeAnalyzer instance.
getInstance() - Static method in interface de.skuzzle.enforcer.restrictimports.formatting.MatchFormatter
 
getLanguageSupport(Path) - Static method in interface de.skuzzle.enforcer.restrictimports.parser.lang.LanguageSupport
Returns the LanguageSupport implementation for the given file.
getLevel() - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
getLine() - Method in class de.skuzzle.enforcer.restrictimports.parser.ImportStatement
The physical line within the source file in which the import has occurred.
getMatchedBy() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
Returns the group that contains the banned import that caused the match in this file.
getMatchedBy() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedImport
 
getMatchedImports() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
The matches found in this file.
getMatchedString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedImport
 
getMessage() - Method in class de.skuzzle.enforcer.restrictimports.analyze.Warning
 
getMessage() - Method in class de.skuzzle.enforcer.restrictimports.parser.Annotation
 
getPath() - Method in class de.skuzzle.enforcer.restrictimports.parser.ParsedFile
 
getReason() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
getSourceFile() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
The java source file containing the matches.
getSourceFileCharset() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 
getSrcDirectories() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 
getSrcMatches() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
Contains all the matches that were found within the analyzed compile source files.
getSupportedFileExtensions() - Method in class de.skuzzle.enforcer.restrictimports.parser.lang.JavaLanguageSupport
 
getSupportedFileExtensions() - Method in class de.skuzzle.enforcer.restrictimports.parser.lang.KotlinGroovyLanguageSupport
 
getSupportedFileExtensions() - Method in interface de.skuzzle.enforcer.restrictimports.parser.lang.LanguageSupport
The set of supported file extensions.
getTestDirectories() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 
getTestMatches() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
Contains all the matches that were found within the analyzed test source files.
getWarnings() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
 

H

hasBannedImports() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroups
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedImport
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.PackagePattern
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.Warning
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.parser.Annotation
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.parser.ImportStatement
 
hashCode() - Method in class de.skuzzle.enforcer.restrictimports.parser.ParsedFile
 
hasInput() - Method in class org.apache.maven.plugins.enforcer.BannedImportGroupDefinition
Determines whether the user modified at least a single field within this definition.
hasWarning() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
 

I

ifImportIsBanned(String) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
IMPORT - de.skuzzle.enforcer.restrictimports.parser.ImportType
Default, simple import statement.
ImportStatement - Class in de.skuzzle.enforcer.restrictimports.parser
Represents an import statement that has been discovered while parsing a source file.
ImportStatement(String, int, ImportType) - Constructor for class de.skuzzle.enforcer.restrictimports.parser.ImportStatement
 
ImportStatementParser - Interface in de.skuzzle.enforcer.restrictimports.parser
For parsing a source file into a ParsedFile.
ImportType - Enum in de.skuzzle.enforcer.restrictimports.parser
The type of a detected import.
isCacheable() - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
isFailedToParse() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
Whether the file could not be parsed at all.
isFailedToParse() - Method in class de.skuzzle.enforcer.restrictimports.parser.ParsedFile
Whether the file could not be parsed at all and we have no information about used imports.
isLanguageSupported(Path) - Static method in interface de.skuzzle.enforcer.restrictimports.parser.lang.LanguageSupport
Determines whether there exists a LanguageSupport implementation for the given path.
isParallel() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 
isParseFullCompilationUnit() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
When supported for a specific source file, we will attempt to parse the full source file.
isQualifiedTypeUsage() - Method in class de.skuzzle.enforcer.restrictimports.parser.ImportStatement
Whether this is an 'artificial' import that has been created from a full qualified type reference within the source rather than from a real import statement.
isResultValid(EnforcerRule) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
isStatic() - Method in class de.skuzzle.enforcer.restrictimports.analyze.PackagePattern
Whether this is a pattern starting with 'static '.

J

JavaLanguageSupport - Class in de.skuzzle.enforcer.restrictimports.parser.lang
 
JavaLanguageSupport() - Constructor for class de.skuzzle.enforcer.restrictimports.parser.lang.JavaLanguageSupport
 

K

KotlinGroovyLanguageSupport - Class in de.skuzzle.enforcer.restrictimports.parser.lang
 
KotlinGroovyLanguageSupport() - Constructor for class de.skuzzle.enforcer.restrictimports.parser.lang.KotlinGroovyLanguageSupport
 

L

LanguageSupport - Interface in de.skuzzle.enforcer.restrictimports.parser.lang
SPI for plugging in import statement recognition for different languages.

M

matchedBy(BannedImportGroup) - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile.Builder
Sets the group that contained the banned import that caused a match for this file.
MatchedFile - Class in de.skuzzle.enforcer.restrictimports.analyze
Holds the matches that were found within a single source file.
MatchedFile.Builder - Class in de.skuzzle.enforcer.restrictimports.analyze
 
MatchedImport - Class in de.skuzzle.enforcer.restrictimports.analyze
Represents a single match of a banned import within a java source file.
matches(PackagePattern) - Method in class de.skuzzle.enforcer.restrictimports.analyze.PackagePattern
Tests whether the given package pattern is matched by this package pattern instance.
matches(String) - Method in class de.skuzzle.enforcer.restrictimports.analyze.PackagePattern
Tests whether the given package name is matched by this package pattern instance.
MatchFormatter - Interface in de.skuzzle.enforcer.restrictimports.formatting
For formatting the result of the banned import analysis.

O

ofInstance(Object) - Static method in class de.skuzzle.enforcer.restrictimports.util.StringRepresentation
 
ofType(Class<?>) - Static method in class de.skuzzle.enforcer.restrictimports.util.StringRepresentation
 
org.apache.maven.plugins.enforcer - package org.apache.maven.plugins.enforcer
 

P

PackagePattern - Class in de.skuzzle.enforcer.restrictimports.analyze
Pattern class to match java style package and class names using wild card operators.
parse(String) - Static method in class de.skuzzle.enforcer.restrictimports.analyze.PackagePattern
Parses the given String into a PackagePattern.
parse(Path) - Method in interface de.skuzzle.enforcer.restrictimports.parser.ImportStatementParser
Parses the given source file using the given LanguageSupport implementation to recognize import statements.
parseAll(Collection<String>) - Static method in class de.skuzzle.enforcer.restrictimports.analyze.PackagePattern
Parses each string of the given collection into a PackagePattern and returns them in a list.
parseCompilationUnit(Path, Charset) - Method in class de.skuzzle.enforcer.restrictimports.parser.lang.JavaLanguageSupport
 
parseCompilationUnit(Path, Charset) - Method in interface de.skuzzle.enforcer.restrictimports.parser.lang.LanguageSupport
ParsedFile - Class in de.skuzzle.enforcer.restrictimports.parser
Represents a source file that has been parsed for import statements.
parseFullCompilationUnitSupported() - Method in class de.skuzzle.enforcer.restrictimports.parser.lang.JavaLanguageSupport
 
parseFullCompilationUnitSupported() - Method in interface de.skuzzle.enforcer.restrictimports.parser.lang.LanguageSupport
When returning true, the framework will not use the line base import parser but will instead try to parse the whole source file using LanguageSupport.parseCompilationUnit(Path, Charset).
parseImport(String, int) - Method in class de.skuzzle.enforcer.restrictimports.parser.lang.JavaLanguageSupport
 
parseImport(String, int) - Method in class de.skuzzle.enforcer.restrictimports.parser.lang.KotlinGroovyLanguageSupport
 
parseImport(String, int) - Method in interface de.skuzzle.enforcer.restrictimports.parser.lang.LanguageSupport
Extract the package names that this import statement represents.
parsePackage(String) - Method in class de.skuzzle.enforcer.restrictimports.parser.lang.JavaLanguageSupport
 
parsePackage(String) - Method in class de.skuzzle.enforcer.restrictimports.parser.lang.KotlinGroovyLanguageSupport
 
parsePackage(String) - Method in interface de.skuzzle.enforcer.restrictimports.parser.lang.LanguageSupport
Parses the given line and returns the declared package
Preconditions - Class in de.skuzzle.enforcer.restrictimports.util
 

Q

QUALIFIED_TYPE_USE - de.skuzzle.enforcer.restrictimports.parser.ImportType
Inline, full qualified type use.

R

RestrictImports - Class in org.apache.maven.plugins.enforcer
Enforcer rule which restricts the usage of certain packages or classes within a Java code base.
RestrictImports() - Constructor for class org.apache.maven.plugins.enforcer.RestrictImports
 

S

selectGroupFor(String) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroups
Selects the BannedImportGroup with the most specific base package matching the given full qualified class name.
setAllowedImport(String) - Method in class org.apache.maven.plugins.enforcer.BannedImportGroupDefinition
 
setAllowedImport(String) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setAllowedImports(List<String>) - Method in class org.apache.maven.plugins.enforcer.BannedImportGroupDefinition
 
setAllowedImports(List<String>) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setBannedImport(String) - Method in class org.apache.maven.plugins.enforcer.BannedImportGroupDefinition
 
setBannedImport(String) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setBannedImports(List<String>) - Method in class org.apache.maven.plugins.enforcer.BannedImportGroupDefinition
 
setBannedImports(List<String>) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setBasePackage(String) - Method in class org.apache.maven.plugins.enforcer.BannedImportGroupDefinition
 
setBasePackage(String) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setBasePackages(List<String>) - Method in class org.apache.maven.plugins.enforcer.BannedImportGroupDefinition
 
setBasePackages(List<String>) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setExcludedSourceRoot(File) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setExcludedSourceRoots(List<File>) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setExclusion(String) - Method in class org.apache.maven.plugins.enforcer.BannedImportGroupDefinition
 
setExclusion(String) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setExclusions(List<String>) - Method in class org.apache.maven.plugins.enforcer.BannedImportGroupDefinition
 
setExclusions(List<String>) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setFailBuild(boolean) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setGroups(List<BannedImportGroupDefinition>) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setIncludeCompileCode(boolean) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setIncludeTestCode(boolean) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setParallel(boolean) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setParseFullCompilationUnit(boolean) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setReason(String) - Method in class org.apache.maven.plugins.enforcer.BannedImportGroupDefinition
 
setReason(String) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
setSkip(boolean) - Method in class org.apache.maven.plugins.enforcer.RestrictImports
 
SourceTreeAnalyzer - Interface in de.skuzzle.enforcer.restrictimports.analyze
Analyzes the whole source tree for matches of banned imports.
srcMatchesByGroup() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
Returns the matches that occurred in compile source files grouped by their BannedImportGroup
STATIC_IMPORT - de.skuzzle.enforcer.restrictimports.parser.ImportType
static import statement.
StringRepresentation - Class in de.skuzzle.enforcer.restrictimports.util
 
successful(Path, String, String, Collection<ImportStatement>) - Static method in class de.skuzzle.enforcer.restrictimports.parser.ParsedFile
Creates a ParsedFile for a source file that was parsed successfully.

T

testMatchesByGroup() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
Returns the matches that occurred in test source files grouped by their BannedImportGroup.
toString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroups
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedImport
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.PackagePattern
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.analyze.Warning
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.parser.Annotation
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.parser.ImportStatement
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.parser.ParsedFile
 
toString() - Method in class de.skuzzle.enforcer.restrictimports.util.StringRepresentation
 
trimAll(String) - Static method in class de.skuzzle.enforcer.restrictimports.util.Whitespaces
Trims all leading and trailing whitespaces (regex pattern class \s)

V

valueOf(String) - Static method in enum de.skuzzle.enforcer.restrictimports.parser.ImportType
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.skuzzle.enforcer.restrictimports.parser.ImportType
Returns an array containing the constants of this enum type, in the order they are declared.

W

Warning - Class in de.skuzzle.enforcer.restrictimports.analyze
Represents an additional warning that might be reported and shall be displayed to the end user.
warningsFound() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
 
warningsFoundInCompileCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
 
warningsFoundInTestCode() - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult
 
Whitespaces - Class in de.skuzzle.enforcer.restrictimports.util
Utility for handling whitespaces.
withAllowedImports(String...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withAllowedImports(List<PackagePattern>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withAnalysedFileCount(int) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult.Builder
 
withBannedImports(String...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withBannedImports(List<PackagePattern>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withBasePackages(String...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withBasePackages(List<PackagePattern>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withDuration(long) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult.Builder
 
withExclusions(String...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withExclusions(List<PackagePattern>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withFailedToParse(boolean) - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile.Builder
 
withGroup(BannedImportGroup) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroups.Builder
 
withGroup(BannedImportGroup.Builder) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroups.Builder
 
withGroups(Collection<BannedImportGroup>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroups.Builder
 
withMatchAt(int, String, PackagePattern) - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile.Builder
Records a matched import within this file.
withMatches(MatchedFile.Builder...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult.Builder
 
withMatches(Collection<MatchedFile>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult.Builder
 
withMatchesInTestCode(MatchedFile.Builder...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult.Builder
 
withMatchesInTestCode(Collection<MatchedFile>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzeResult.Builder
 
withMessage(String) - Static method in class de.skuzzle.enforcer.restrictimports.analyze.Warning
 
withMessage(String) - Static method in class de.skuzzle.enforcer.restrictimports.parser.Annotation
 
withParseFullCompilationUnit(boolean) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings.Builder
 
withReason(String) - Method in class de.skuzzle.enforcer.restrictimports.analyze.BannedImportGroup.Builder
 
withSourceFileCharset(Charset) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings.Builder
 
withSrcDirectories(Path...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings.Builder
 
withSrcDirectories(Collection<Path>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings.Builder
 
withTestDirectories(Path...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings.Builder
 
withTestDirectories(Collection<Path>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.AnalyzerSettings.Builder
 
withWarnings(Warning...) - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile.Builder
 
withWarnings(List<Warning>) - Method in class de.skuzzle.enforcer.restrictimports.analyze.MatchedFile.Builder
 
A B C D E F G H I J K L M O P Q R S T V W 
All Classes All Packages