public final class SerialVersionUidUnchanged
extends org.revapi.java.spi.CheckBase
Constructor and Description |
---|
SerialVersionUidUnchanged() |
Modifier and Type | Method and Description |
---|---|
static long |
computeSerialVersionUID(TypeElement type,
org.revapi.java.spi.TypeEnvironment environment)
Adapted from
ObjectStreamClass.computeDefaultSUID(java.lang.Class) method. |
protected List<org.revapi.Difference> |
doEnd() |
protected void |
doVisitField(org.revapi.java.spi.JavaFieldElement oldField,
org.revapi.java.spi.JavaFieldElement newField) |
EnumSet<org.revapi.java.spi.Check.Type> |
getInterest() |
protected static boolean |
shouldCheck(org.revapi.java.spi.CheckBase check,
org.revapi.java.spi.JavaFieldElement oldField,
org.revapi.java.spi.JavaFieldElement newField) |
protected boolean |
shouldCheck(org.revapi.java.spi.JavaFieldElement oldField,
org.revapi.java.spi.JavaFieldElement newField) |
createDifference, createDifferenceWithExplicitParams, doVisitAnnotation, doVisitClass, doVisitMethod, doVisitMethodParameter, getAnalysisContext, getConfigurationRootPaths, getJSONSchema, getNewTypeEnvironment, getOldTypeEnvironment, initialize, isAccessible, isBothAccessible, isBothPrivate, isMissing, popIfActive, pushActive, setNewTypeEnvironment, setOldTypeEnvironment, visitAnnotation, visitClass, visitEnd, visitField, visitMethod, visitMethodParameter
public EnumSet<org.revapi.java.spi.Check.Type> getInterest()
getInterest
in interface org.revapi.java.spi.Check
protected void doVisitField(org.revapi.java.spi.JavaFieldElement oldField, org.revapi.java.spi.JavaFieldElement newField)
doVisitField
in class org.revapi.java.spi.CheckBase
protected List<org.revapi.Difference> doEnd()
doEnd
in class org.revapi.java.spi.CheckBase
public static long computeSerialVersionUID(TypeElement type, org.revapi.java.spi.TypeEnvironment environment)
ObjectStreamClass.computeDefaultSUID(java.lang.Class)
method.protected boolean shouldCheck(org.revapi.java.spi.JavaFieldElement oldField, org.revapi.java.spi.JavaFieldElement newField)
protected static boolean shouldCheck(org.revapi.java.spi.CheckBase check, org.revapi.java.spi.JavaFieldElement oldField, org.revapi.java.spi.JavaFieldElement newField)
Copyright © 2017 Lukas Krejci. All Rights Reserved.