public class SerialVersionUID extends Object
| Constructor and Description |
|---|
SerialVersionUID() |
| Modifier and Type | Method and Description |
|---|---|
static long |
calculateDefault(CtClass clazz)
Calculate default value.
|
static void |
setSerialVersionUID(CtClass clazz)
Adds serialVersionUID if one does not already exist.
|
public static void setSerialVersionUID(CtClass clazz) throws CannotCompileException, NotFoundException
public static long calculateDefault(CtClass clazz) throws CannotCompileException
CannotCompileExceptionCopyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.