Introduction

"Guava Eclipse Plugin" is an eclipse plugin which will generate following methods using Google guava utility classes or jdk utility classes

  • toString() [STRG + SHIFT + 4]
  • equals(Object object) & hashCode() [STRG + SHIFT + 5]
  • compareTo(...) [STRG + SHIFT + 6]

Guava Eclipse Plugin Preferences Guava Eclipse Plugin Equals/HashCode Preferences Guava Eclipse Plugin CompareTo Preferences Guava Eclipse Plugin Popup Menu Guava Eclipse Plugin Popup Source Menu Guava Eclipse Plugin Selection Dialog Guava Eclipse Plugin Keys

For more information, issues, pull requests, wiki, see the project page on GitHub. For PreferencePage settings Code Examples look here.

Installation

Eclipse Marketplace

Drag to your running Eclipse workspace to install Guava Eclipse Plugin

manually

For Releases use this URL: currently unavailable

For SnapShot-Releases use this one: https://guavaeclipseplugin.github.io/GuavaEclipsePluginUpdateSite/SNAPSHOT/latest

Look here for more details about how to use update sites: https://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-127.htm

Changelog

1.7.0

New Features

  • requires Java 11

Fixed Bugs

  • FR#42 - update site on bintray not reachable

Known Issues

  • FR#17 - Maven Release Mechanism does not work
  • Bug#16 - MenuEntries does not appear when pressing ShortCut Alt+Shift+S
  • FR#21 - Support for inner classes
Overview for all releases

Changelog

1.6.0

New Features

  • FR#30 - Escape autoboxing for primitive types
  • FR#31 - Add option to generate //$NON-NLS-1$
  • FR#34 - Add option to skip nulls on toString generation
  • FR#35 - Add @Generated annotation to skip static code analyze
  • FR#26 - Possibility to add nosonar comment for equals methods

Fixed Bugs

Known Issues

  • FR#17 - Maven Release Mechanism does not work
  • Bug#16 - MenuEntries does not appear when pressing ShortCut Alt+Shift+S
  • FR#21 - Support for inner classes
Overview for all releases

Copyright

Guava Eclipse Plugin is under the Apache License V2.0

Contributions

Any contributions are welcome!

You can find the sources here https://github.com/GuavaEclipsePlugin/GuavaEclipseHelper