Class FieldMatcher

  • All Implemented Interfaces:
    java.io.Serializable, java.util.function.Predicate<io.github.classgraph.FieldInfo>

    public class FieldMatcher
    extends AbstractClassMemberMatcher<io.github.classgraph.FieldInfo>
    Matcher to test FieldInfos.
    See Also:
    Serialized Form
    • Constructor Detail

      • FieldMatcher

        public FieldMatcher()
    • Method Detail

      • thatHaveAccessors

        public FieldMatcher thatHaveAccessors()
      • thatDontHaveAccessors

        public FieldMatcher thatDontHaveAccessors()
      • test

        public boolean test​(io.github.classgraph.FieldInfo fieldInfo)
        Specified by:
        test in interface java.util.function.Predicate<io.github.classgraph.FieldInfo>
        Overrides:
        test in class AbstractClassMemberMatcher<io.github.classgraph.FieldInfo>