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 String
Import group for current best match.private int
Length of matching string for current best match.private final int
Position of matching string for current best match. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
RuleMatchForImport
(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.
-