Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,11 @@ && exemptedFieldBySuperType(getType(variableTree), state)) {
if (wellKnownKeep.shouldKeep(variableTree)) {
return;
}
// Skip variables that don't have an explicit source position
// (e.g., Lombok-generated fields like @Slf4j's log field).
if (!hasExplicitSource(variableTree, state)) {
return;
}
switch (symbol.getKind()) {
case FIELD -> {
// We are only interested in private fields and those which are not special.
Expand Down