Class CustomImportOrderCheck.RuleMatchForImport
java.lang.Object
com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck.RuleMatchForImport
- Enclosing class:
- CustomImportOrderCheck
Contains matching attributes assisting in definition of "best matching"
group for import.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringImport group for current best match.private intLength of matching string for current best match.private final intPosition of matching string for current best match. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRuleMatchForImport(String group, int length, int position) Constructor to initialize the fields. -
Method Summary
-
Field Details
-
matchPosition
Position of matching string for current best match. -
matchLength
Length of matching string for current best match. -
group
Import group for current best match.
-
-
Constructor Details
-
RuleMatchForImport
Constructor to initialize the fields.- Parameters:
group- Matched group.length- Matching length.position- Matching position.
-