public class SerialVersionUID extends Object
| Constructor | Description |
|---|---|
SerialVersionUID() |
| Modifier and Type | Method | 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 © 2018 Shigeru Chiba, www.javassist.org. All rights reserved.