protected List<Object> resolveEnum(MemberScope<?, ?> member) {
        List<Object> values;
        if (this.getAnnotationFromFieldOrGetter(member, AssertTrue.class, AssertTrue::groups) != null) {
            values = Collections.singletonList(true);
        } else if (this.getAnnotationFromFieldOrGetter(member, AssertFalse.class, AssertFalse::groups) != null) {
            values = Collections.singletonList(false);
        } else {
            values = null;
        }
        return values;
    }
Look-up the finite list of possible values.

@param member field/method to determine allowed values for
@return applicable "const"/"enum" values or null

@since 4.36.0
@see AssertTrue
@see AssertFalse
jsonschema-module-jakarta-validation/src/main/java/com/github/victools/jsonschema/module/jakarta/validation/JakartaValidationModule.java