Record Class UnusedPrivateFieldCheck.FieldUsage

java.lang.Object
java.lang.Record
com.puppycrawl.tools.checkstyle.checks.coding.UnusedPrivateFieldCheck.FieldUsage
Record Components:
name - the field name referenced.
ancestorFieldMaps - the currently open field maps at the time of the reference, innermost first (index 0).
ancestorTypeNames - the currently open type names, parallel to ancestorFieldMaps.
qualifierTypeName - the type name in a ClassName.this.field reference, or null if not that form.
bareThisQualified - true for a this.field reference.
Enclosing class:
UnusedPrivateFieldCheck

private static record UnusedPrivateFieldCheck.FieldUsage(String name, List<Map<String,DetailAST>> ancestorFieldMaps, List<String> ancestorTypeNames, String qualifierTypeName, boolean bareThisQualified) extends Record
A recorded, not-yet-resolved reference to a field name, with enough context to resolve it precisely once the whole file has been visited.