@Override
    protected String doGetSchemaPropertyName() {
        String result;
        if (!this.getContext().isDerivingFieldsFromArgumentFreeMethods() || this.getArgumentCount() > 0) {
            result = this.getName() + this.getArgumentTypes().stream()
                    .map(this.getContext()::getMethodPropertyArgumentTypeDescription)
                    .collect(Collectors.joining(", ", "(", ")"));
        } else if (this.getOverriddenName() == null) {
            result = this.deriveFieldName();
        } else {
            result = this.getName();
        }
        return result;
    }
Returns the name to be used to reference this method in its parent's "properties".

@return the (potentially overridden) name of the method followed by its argument types in parentheses
@see #getName()
@see TypeContext#getMethodPropertyArgumentTypeDescription(ResolvedType)
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/MethodScope.java