avoid-javadoc-terminator.md 663 B


id: avoid-javadoc-terminator trigger: "when writing Java block comments or Javadoc containing wildcard-like values" confidence: 0.9 domain: "code-style"

source: "claude-code-memory-import"

Do not terminate Java comments accidentally

Action

  • Never place an extra */ sequence inside Java block-comment or Javadoc content.
  • Describe values such as ATM_* or CVS_* as “ATM series” or “CVS series” instead of embedding a wildcard followed by a slash.

Evidence

  • Imported from Claude Code feedback memory feedback-javadoc-comment-star-slash.md on 2026-08-10 after repeated compile failures caused by premature comment termination.