MCPcopy Create free account
hub / github.com/dropbox/dropbox-sdk-java / field_builder_method

Method field_builder_method

core/generator/java/java.stoneg.py:1901–1907  ·  view source on GitHub ↗
(self, field)

Source from the content-addressed store, hash-verified

1899 return None
1900
1901 def field_builder_method(self, field):
1902 assert isinstance(field, Field), repr(field)
1903 containing_data_type = self._containing_data_types[field]
1904
1905 if field in containing_data_type.all_optional_fields:
1906 return camelcase('with_' + field.name)
1907 return None
1908
1909 def nullability_annotation(self, field):
1910 containing_data_type = self._containing_data_types[field]

Callers 2

generate_routeMethod · 0.80

Calls 1

camelcaseFunction · 0.85

Tested by

no test coverage detected