"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.


Eclipse Marketplace

Drag to your running Eclipse workspace to install Guava Eclipse Plugin


For Releases use this URL:

For SnapShot-Releases use this one:

Look here for more details about how to use update sites:


Latest Version: 1.5.0

New Features

  • moved update site to bintray
  • FR#23 - seperate compareTo preferences page
  • FR#22 - Possibility to define $quot;Task Tag$quot; for comments in compareTo methods
  • FR#24 - option for Java 7 java.util.Objects support
  • FR#25 - option for primitive equality check
  • FR#33 - Objects.hashCode and equals are deprecated for Java 7 and later

Fixed Bugs

  • Bug#36 - Error installing from Eclipse Market Place

Known Issues

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


Guava Eclipse Plugin is under the Apache License V2.0


Any contributions are welcome!

You can find the sources here