--- Title: CreateGearsBuilder alwaysopen: false categories: - docs - operate - stack description: Creates a new GearsBuilder object. linkTitle: CreateGearsBuilder weight: 50 --- ```java public static GearsBuilder CreateGearsBuilder​( gears.readers.BaseReader reader) public static GearsBuilder CreateGearsBuilder​( gears.readers.BaseReader reader, java.lang.String desc) ``` Creates a new `GearsBuilder` object. Use this function instead of a `GearsBuilder` constructor to avoid type warnings. ## Parameters Type Parameters: | Name | Description | |------|-------------| | I | The template type of the returned builder. The reader determines the type. | Parameters: | Name | Type | Description | |------|------|-------------| | desc | string | The description | | reader | BaseReader | The pipe reader | ## Returns Returns a new GearsBuilder object. ## Example ```java GearsBuilder.CreateGearsBuilder(reader); ```