Skip to content

An IntelliJ plugin providing inspections and visual enhancements for the Java MethodHandle, VarHandle, and Foreign Function & Memory APIs

License

Notifications You must be signed in to change notification settings

SirYwell/HandleHints

Repository files navigation

HandleHints

Build Version Downloads

This IntelliJ plugin adds inspections and tools to make working with Java MethodHandles easier.

Features

  • Dataflow-sensitive type analysis
  • Support for methods from the MethodHandles class
  • Support for methods from the MethodHandles.Lookup class
  • Support for methods from the MethodType class
  • Support for methods from the MethodHandle class
  • Precise type tracking for parameters and return types separately
  • Inspections for supported creation/transformation/combination methods
  • Inspections for invoke and invokeExact arguments and return type checks
  • Inlay type hints

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "HandleHints" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...


Plugin based on the IntelliJ Platform Plugin Template.

About

An IntelliJ plugin providing inspections and visual enhancements for the Java MethodHandle, VarHandle, and Foreign Function & Memory APIs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published