2024 Volume 41 Issue 1 Pages 1_3-1_14
This paper introduces Silverchain, a fluent API generator developed by the author of this paper. Silverchain accepts rules on the chaining order of API methods and generates type definitions for the fluent API where the Java type checker can validate the chaining order. The output definitions of Silverchain are a skeleton of the fluent API. The creator of the fluent API (the user of Silverchain) can complete the fluent API by adding some code such as actions performed in the API methods. This paper particularly describes the design efforts made to the input and output of Silverchain, as well as the efforts made to promote Silverchain.