Skip to content

Commit 5084a4e

Browse files
committed
Add documentation for DAO method return type validation check
1 parent ddd3d86 commit 5084a4e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,15 @@ The plugin also provides quick fixes for DAO methods where the required SQL file
3535
![quickfix.png](images/quickfix.png)
3636
- Checks for unused DAO method arguments.
3737
![inspection.png](images/inspection.png)
38+
- Checks that the return type of DAO method matches the expected type based on its annotation.
39+
![returnTypeInspection.png](images/returnTypeInspection.png)
3840
- Checks for undefined bind variable names.
3941
- Checks the class name and package name for static property calls.
4042
![inspectionPackageName.png](images/inspectionPackageName.png)
4143
- Optional types are recognized as their element type (e.g., a parameter of type `Optional<String>` is treated as type `String`).
4244
- For custom functions, checks for methods that are not defined in the configured ExpressionFunctions implementation class.
4345

46+
4447
## Completion
4548
Code completion is available to assist you in coding within directives.
4649

images/returnTypeInspection.png

14.2 KB
Loading

0 commit comments

Comments
 (0)