-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Classes, methods, fields etc. have modifiers, which are a bit cumbersome to check sometimes. It would be cool to introduce enums(?) with all the modifiers and to allow some filtering mechanism, similar as back in the day for https://github.com/ljacqu/DataSourceColumns/tree/master/src/main/java/ch/jalu/datasourcecolumns/predicate
Off the top of my head, something like:
ModifierFilter<Field> filter = FieldModifier.FINAL.and(FieldModifier.STATIC);
filter.matches(field)
(Plus .negate(), .or(...) ... )
Challenge is that modifiers are different for each Member. Class has modifiers but does not implement Member.
Metadata
Metadata
Assignees
Labels
No labels