public static class LintFix.GroupBuilder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
familyName |
| Modifier and Type | Method and Description |
|---|---|
LintFix.GroupBuilder |
add(LintFix fix)
Adds the given fix to this group
|
LintFix |
build()
Construct a
LintFix for this group of fixes |
LintFix.GroupBuilder |
join(LintFix... fixes)
Adds the given fixes to this group
|
LintFix.GroupBuilder |
name(java.lang.String displayName)
Sets display name.
|
LintFix.GroupBuilder |
name(java.lang.String displayName,
java.lang.String familyName)
Sets display name and family name.
|
LintFix.GroupBuilder |
sharedName(java.lang.String familyName)
Sets the family name.
|
LintFix.GroupBuilder |
type(LintFix.GroupType type) |
public LintFix.GroupBuilder name(java.lang.String displayName)
displayName - the display namepublic LintFix.GroupBuilder name(@NonNull java.lang.String displayName, @NonNull java.lang.String familyName)
displayName - the displayNamefamilyName - the "family" name; the shared name to use to apply *all* fixes of the
same family name in a single go.public LintFix.GroupBuilder sharedName(@NonNull java.lang.String familyName)
familyName - the "family" name; the shared name to use to apply *all* fixes of the
same family name in a single go.public LintFix.GroupBuilder join(@NonNull LintFix... fixes)
public LintFix.GroupBuilder add(@NonNull LintFix fix)
public LintFix.GroupBuilder type(@NonNull LintFix.GroupType type)