You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ These rules apply to all Java code written or modified in this repository.
4
4
5
5
## Nullability
6
6
7
-
-Annotate every class with JetBrains Annotations `@NotNullByDefault`.
8
-
-Any type, field, parameter, return value, local variable, or generic type argument that may be `null` must be explicitly annotated with `@Nullable`.
9
-
- Nullability must never be implicit.
7
+
-Every class declared in a newly added Java source file must be annotated with JetBrains Annotations `@NotNullByDefault`.
8
+
-When writing or modifying Java code, any type, field, parameter, return value, local variable, or generic type argument that may be `null` must be explicitly annotated with `@Nullable`.
9
+
- Nullability in code being written or modified must never be implicit.
10
10
11
11
## Immutability
12
12
@@ -15,6 +15,8 @@ These rules apply to all Java code written or modified in this repository.
15
15
16
16
## Documentation
17
17
18
+
Apply the following requirements when writing or modifying code. Do not use them as code-review criteria.
19
+
18
20
- Every class, field, and method must have documentation.
19
21
- Documentation must use `///` Markdown-style Javadoc comments.
20
22
- Keep documentation accurate and specific to the actual behavior, constraints, and side effects.
0 commit comments