Java API Design

Naming and API design for Java code that others call: names carrying domain vocabulary, method and boolean naming conventions, arity and parameter objects, overload hazards, discoverability, public versus internal surface (package-private, JPMS exports), and API evolution — binary, source and behavioural compatibility, deprecation, semantic versioning. Use when designing or reviewing a public type, when a signature has grown past three parameters, when adding a method, overload or record component to a published API, or when deciding what a module exports. Does not cover builder and fluent-chain mechanics (java-fluent-apis) or exception contracts (java-exception-design).

robsonkades f14ad38 5 files · 34.4 KB Updated

File contents

robsonkades/agent-skills/tree/main/skills/java-api-design commit f14ad38f94

Frequently asked questions

npx skillmds@latest add robsonkades/java-api-design