find_naming_violations
Check Java code for naming violations: PascalCase classes, camelCase methods/fields, UPPER_SNAKE_CASE constants. Scan single file or entire project.
Instructions
Check code against standard Java naming conventions.
USAGE: find_naming_violations(filePath="path/to/File.java") OUTPUT: List of naming convention violations
Conventions checked:
Classes/interfaces/enums: PascalCase
Methods: camelCase
Fields: camelCase
Constants (static final): UPPER_SNAKE_CASE
Parameters: camelCase
If filePath is omitted, scans all project files.
Requires load_project to be called first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | File to check (omit to scan all files) |