Back to Everything Claude Code

Java Hooks

rules/java/hooks.md

1.10.0370 B
Original Source

Java Hooks

This file extends common/hooks.md with Java-specific content.

PostToolUse Hooks

Configure in ~/.claude/settings.json:

  • google-java-format: Auto-format .java files after edit
  • checkstyle: Run style checks after editing Java files
  • ./mvnw compile or ./gradlew compileJava: Verify compilation after changes