serialVersionUID generator - plugin detail

Generator of serialVersionUID for classes that implements java.io.Serializable.

NetBeans Plugin - serialVersionUID generator
Plugin owner: hlavki
Website: http://kenai.com/projects/nb-svuid-generator
Added: 2008-03-31
License: GPLv2
Category: Programming Languages
Downloaded: 22,433 times
Rating:
 4.44, by 18 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.03 MB   Last Update: 2016-10-10

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

built for netbeans 8.2

Verifications for NetBeans versions

8.2 verification PASSED See verification details
Download plugin   Download size: 0.03 MB   Last Update: 2015-10-06

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

update plugin to work with Netbeans 8.1 RC

Verifications for NetBeans versions

8.1 verification PASSED See verification details
Download plugin   Download size: 0.03 MB   Last Update: 2015-08-11

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

version 2.0.2
  • fixed Code Generator to generate serialVersionUID on carret position
  • added plugin description


  • Verifications for NetBeans versions

    8.0 verification PASSED See verification details
Download plugin   Download size: 0.01 MB   Last Update: 2011-05-17

What's new in this version

Project is now hosted in kenai. Link to download all versions: http://kenai.com/projects/nb-svuid-generator/downloads/directory/nbms

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.01 MB   Last Update: 2011-05-17

What's new in this version

Project is now hosted in kenai. Link to download all versions: http://kenai.com/projects/nb-svuid-generator/downloads/directory/nbms

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.01 MB   Last Update: 2011-05-17

What's new in this version

Project is now hosted in kenai. Link to download all versions: http://kenai.com/projects/nb-svuid-generator/downloads/directory/nbms

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.01 MB   Last Update: 2011-05-17

What's new in this version

Project is now hosted in kenai. Link to download all versions: http://kenai.com/projects/nb-svuid-generator/downloads/directory/nbms

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 0.01 MB   Last Update: 2011-05-17

What's new in this version

Project is now hosted in kenai. Link to download all versions: http://kenai.com/projects/nb-svuid-generator/downloads/directory/nbms

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

Sources are available via mercurial repository at http://kenai.com/projects/nb-svuid-generator/sources/mercurial/show

changelog:

version 2.0.2
  • fixed Code Generator to generate serialVersionUID on carret position
  • added plugin description
version 2.0.0 version 1.9.5 version 1.6
  • fixed java hint for JFrame with matisse gui designer
  • hint doesn't work for JPanel with matisse (see #140653)
version 1.5
  • hint configuration was moved to group "general"
  • refactoring in Descriptor class
  • new support for SuppressWarrning("serial") annotation
  • abstract classes are excluded from generator

[ You have to be logged in to be able to comment. ]

User Comments

  

Doesn't work with NB8.1Beta

java.lang.NoSuchMethodError: org.netbeans.modules.java.editor.codegen.GeneratorUtils.getAllParents(Ljavax/lang/model/element/TypeElement;)Ljava/util/Collection;
at eu.easyedu.netbeans.svuid.SvuidHelper.isSerializable(SvuidHelper.java:90)
at eu.easyedu.netbeans.svuid.SvuidHelper.needsSerialVersionUID(SvuidHelper.java:84)
at eu.easyedu.netbeans.svuid.SerialVersionUidHint.run(SerialVersionUidHint.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
Posted by otheo on Aug 06, 2015
  

Works with NB7.1

Package can be download - as stated above - via http://kenai.com/projects/nb-svuid-generator/downloads/directory/nbms
Posted by markiewb on Jan 25, 2012
  

RE: Doesn't work in Netbeans 7.0.1 / Windows 7

You can download new version for 7.0.1 here
http://kenai.com/projects/nb-svuid-generator/downloads/directory/nbms/nb7.0.1
Posted by hlavki on Aug 03, 2011
  

Doesn't work in Netbeans 7.0.1 / Windows 7

Some plugins require plugin Java Hints to be installed.
The plugin Java Hints is requested in implementation version 4. The following plugin is affected: Serial version UID generator

Version: 1.9.6.8.4
Posted by jiai on Aug 03, 2011
  

Remove the repeated default serial on hint

It appears to be working fine for 7.0 except I see the default serial repeated on hint.

Also, thanks for your work.
Posted by abhijitsulhyan on Apr 27, 2011
  

RE: Please fix it for NB 7.0 beta!

oops...http://kenai.com/projects/nb-svuid-generator/downloads/directory/nbms/nb7.0
Posted by hlavki on Nov 22, 2010
  

RE: Please fix it for NB 7.0 beta!

You can download binaries for netbeans 7.0 dev build here:
Posted by hlavki on Nov 22, 2010
  

Please fix it for NB 7.0 beta!

Unfortunately it doesn't work with Netbeans 7.0 beta. :-(
Posted by jiai on Nov 21, 2010
  

RE: No 6.9.1 support yet.

Hi jcrim,

of course it works very well also with 6.9.1
Posted by hlavki on Oct 27, 2010
  

No 6.9.1 support yet.

It seems there is no support for NB 6.9.1.

http://kenai.com/projects/nb-svuid-generator/downloads/directory/nbms

says there's a version for 6.9, as of 3 months ago. Is that version supposed to work for 6.9.1 ?
Posted by jcrim on Oct 25, 2010
  

Thanks

Works perfect for normall and inner classes.
Posted by zaro on Sep 20, 2010
  

RE: Great plugin

Thank you for listening to user's voice. This plugin is a must-have for a developer.
Posted by mpalka on Mar 25, 2010
  

RE: Great plugin

you can see status of this issue here:http://kenai.com/jira/browse/NB_SVUID_GENERATOR-3
Posted by hlavki on Aug 07, 2009
  

RE: Great plugin

hello,

Yes, you are right. I will work on it ASAP. thanks for hint ;)
Posted by hlavki on Aug 07, 2009
  

Great plugin

Thanks for the plugin, it's really great. Would it possible to add a feature to generate a serial version UID for anonymous classess too? Now Netbeans shows a hint about a missing serial version for an anonymous class but the only option available is a "suppress warnings". I work with Apache Wicket web framework (a great one by the way) which uses a lot of code like this one:

addUserButton = new IndicatingAjaxFallbackLink("addUserButton") { //here I get a hint about a missing UID

@Override
public void onClick(AjaxRequestTarget target) {
OrganizationUsersPanel.this.onAddUserAction();
}
};
Posted by mpalka on Aug 07, 2009
  

Re: Netbeans 6.7

Hi necrosado,
you can download nbm for 6.7 on kenai project page.
Posted by hlavki on Jul 28, 2009
  

Netbeans 6.7

Would be usefull on NB 6.7 as well.
Posted by necrosado on Jul 28, 2009
  

Thanks!

Great Job!!

Dejo un pequeño articulo de uso del plugin en español: http://lefunes.wordpress.com/2009/01/05/generando-el-serialversionuid-de-una-clase-desde-netbeans/
Posted by harpon on Jan 06, 2009
  

NetBean 6.5

Downloaded the current version and it works fine on NB 6.5.

Thanks for the plugin. It is a real time saver.
Posted by jyeary on Dec 03, 2008
  

Netbeans 6.5

I really like this plugin, thanks!

Are there any plans for Netbeans 6.5?

Thanks again.
Posted by levmatta on Oct 29, 2008
  

RE: Netbeans 6.5

hello levmatta,
thanks, new version for netbeans 6.5 is ready but not released yet...
Posted by hlavki on Oct 29, 2008
  

Thanks!

Great little plugin. Does what I need it to do, how it should be done! Thanks alot! (PS, works on 6.5Beta for those of you who wonders)
Posted by badeand on Sep 04, 2008
  

RE: SuppresWarning is not supported

Yop, you are right... I'll fix it in next release...
Posted by hlavki on Jul 11, 2008
  

SuppresWarning is not supported

SuppresWarning is not supported - after adding @SuppressWarnings("serial") I still see warning.
Posted by odisseylm on Jul 11, 2008
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo