public static MethodExclusionModule forNonStaticNonVoidNonGetterMethods() {
        return new MethodExclusionModule(
                method -> !method.isStatic() && !method.isVoid() && !method.isGetter());
    }
Factory method: creating a {@link MethodExclusionModule} instance that excludes all methods that don't fall in any of the other categories.

@return created module instance
@see MethodExclusionModule#forVoidMethods()
@see MethodExclusionModule#forGetterMethods()
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/impl/module/MethodExclusionModule.java