Skip to content

Commit

Permalink
fix StaticFieldProcessor.process access.
Browse files Browse the repository at this point in the history
  • Loading branch information
rotgruengelb committed Jul 30, 2024
1 parent b2614c4 commit c184169
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

public class StaticFieldProcessor {

private static <T> void process(Class<?> clazz, Class<T> type, boolean recursive, Consumer<T> consumer) {
public static <T> void process(Class<?> clazz, Class<T> type, boolean recursive,
Consumer<T> consumer) {
for (Field field : clazz.getDeclaredFields()) {
if (Modifier.isStatic(field.getModifiers()) && type.isAssignableFrom(field.getType())) {
try {
Expand Down

0 comments on commit c184169

Please sign in to comment.