Skip to content

Commit a20c442

Browse files
committed
Added JavaDoc for Query.Builder
1 parent e165986 commit a20c442

File tree

1 file changed

+8
-0
lines changed
  • src/main/java/ch/usi/si/seart/treesitter

1 file changed

+8
-0
lines changed

src/main/java/ch/usi/si/seart/treesitter/Query.java

+8
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ public Builder toBuilder() {
9494
return builder().language(language).patterns(patterns);
9595
}
9696

97+
/**
98+
* Facilitates the construction of Query instances.
99+
* It allows for the step-by-step creation of these objects
100+
* by providing methods for setting individual attributes.
101+
* Input validations are performed at each build step.
102+
*
103+
* @since 1.7.0
104+
*/
97105
@FieldDefaults(level = AccessLevel.PRIVATE)
98106
@NoArgsConstructor(access = AccessLevel.PRIVATE)
99107
public static class Builder {

0 commit comments

Comments
 (0)