Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

swung-weave-buildr

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swung-weave-buildr

  • 1.1.6
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

swung-weave

A simple project that processes bytecode transforming methods annotated with the annotation @RunInEDT and @RunOutsideEDT

A method annotated with @RunInEDT may be transformed into something like

void method() { if (!SwingUtilities.isEventDispatchThread()) { SwingUtilities.invokeAndWait(new Runnable() { public void run() { method(); } ); return; }

 // do method code here, guaranteed to be in EDT

}

Installing the IDEA plugin

The plugin is available in JetBrains repos. To install, simply go to "File > Settings > Plugins > Available" and select the SwungWeave plugin from the list of available plugins and install it.

How it works

For each module of the project with the SwungWeave facet, the plugin looks for a class named org.realityforge.swung_weave.tool.Main in its classpath. If found, it scans all the classes of the module in its main and test output directories and enhances the annotated methods using it.

FAQs

Package last updated on 04 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc