Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.20
-
Fix Version/s: None
-
Component/s: Referencing
-
Labels:
Description
Creating DefaultParameterDescriptor and similar objects is very tedious. We tried to simplify a little bit the task by providing many convenience constructors, but it still not convenient enough: there is always peoples needed different convenience constructors.
The usual pattern in such case is to provide a ParameterBuilder class with many setters and a build() method. Once this builder is provided, we could deprecate all convenience constructor - which may help to make the API clearer.