public class SerialVersionUID
extends java.lang.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
CannotCompileException
Copyright © 2018 Shigeru Chiba, www.javassist.org. All Rights Reserved.