Skip to content

Code Generations

Ilya Muromtsev edited this page Jun 16, 2026 · 2 revisions

Code Generations

Explyt adds Spring-aware generators to Code → Generate (Alt+Insert / ⌘N). Available in Java and Kotlin where applicable.

Generators

  • Spring Web Method from URL/cURL — generate a Spring Web annotated method.
  • HttpClient Method from URL/cURL — generate standalone java.net.http.HttpClient code (Java 11+), useful outside Spring.
  • JPA equals/hashCode for Java entities — proxy-safe Hibernate approach (final, type check, non-null @Id).
  • OpenAPI generation for a project (see Spring Web & OpenAPI REST client).
  • Properties ↔ YAML conversion (editor popup menu).
  • @PostConstruct / @PreDestroy lifecycle method stubs.

Spring @PostConstruct & @PreDestroy

code-gen-post-pre.mp4

JPA equals & hashCode — best practice

code-gen-eq-hash.mp4

Spring Web methods by URL & cURL

code-gen-http-method-curl.mp4

See also: Features · Usage

Clone this wiki locally