| Package | Description |
|---|---|
| com.puppycrawl.tools.checkstyle.checks.imports |
Contains the Imports checks that are
bundled with the main distribution.
|
| Modifier and Type | Method and Description |
|---|---|
private static CustomImportOrderCheck.RuleMatchForImport |
CustomImportOrderCheck.findBetterPatternMatch(java.lang.String importPath,
java.lang.String group,
java.util.regex.Pattern regExp,
CustomImportOrderCheck.RuleMatchForImport currentBestMatch)
Tries to find better matching regular expression:
longer matching substring wins; in case of the same length,
lower position of matching substring wins.
|
| Modifier and Type | Method and Description |
|---|---|
private static CustomImportOrderCheck.RuleMatchForImport |
CustomImportOrderCheck.findBetterPatternMatch(java.lang.String importPath,
java.lang.String group,
java.util.regex.Pattern regExp,
CustomImportOrderCheck.RuleMatchForImport currentBestMatch)
Tries to find better matching regular expression:
longer matching substring wins; in case of the same length,
lower position of matching substring wins.
|
Copyright © 2001-2022. All Rights Reserved.