public MethodScope getMemberMethod(String methodName) {
        return this.getMethod(this.declarationDetails.getDeclaringTypeMembers().getMemberMethods(), methodName);
    }
Helper class for constructing {@link FieldScope} and {@link MethodScope} instances in tests.
jsonschema-module-jakarta-validation/src/test/java/com/github/victools/jsonschema/module/jakarta/validation/TestType.java