Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 856 Bytes

File metadata and controls

20 lines (15 loc) · 856 Bytes

JFocus Integration Rules

You have a tool called jfocus installed in system PATH. When user asks for Java code analysis, refactoring, or explanation:

  1. Analysis Strategy:

    • DO NOT read the entire file content blindly.
    • ALWAYS use jfocus <file> <method> to extract the context first.
    • Use -v flag ONLY when you need to see dependency implementation details.
  2. Command Usage:

    • jfocus <file> : Lists available methods in the file.
    • jfocus <file> <method> : Extracts context for the method.
  3. Trust Model:

    • Treat JFocus output as the ONLY source of truth.
    • Do NOT assume missing methods or fields exist.
    • If context seems incomplete, explicitly use jfocus -v to check dependencies.
  4. Execution: Run the command, assume the output is the ground truth context, and answer based on it.