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
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.