Class SerialVersionUIDComputer
- java.lang.Object
-
- org.jboss.forge.roaster.model.util.SerialVersionUIDComputer
-
public class SerialVersionUIDComputer extends java.lang.ObjectComputes the SerialVersion UID value- Author:
- George Gastaldi
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longcompute(JavaClassSource source)This is not the official algorithm as defined in the JLS spec, but it is close
-
-
-
Method Detail
-
compute
public static long compute(JavaClassSource source)
This is not the official algorithm as defined in the JLS spec, but it is close- Parameters:
source- the source of which the UUID is base- Returns:
- the computed serialVersionUID value
- See Also:
ObjectStreamClass.getSerialVersionUID()
-
-