public final class SerialVersionUidChecker
extends org.revapi.java.spi.CheckBase
Constructor | Description |
---|---|
SerialVersionUidChecker() |
Modifier and Type | Method | Description |
---|---|---|
static long |
computeSerialVersionUID(TypeElement type,
org.revapi.java.spi.TypeEnvironment environment) |
Adapted from
ObjectStreamClass.computeDefaultSUID(java.lang.Class) method. |
static long |
computeStructuralId(TypeElement type,
org.revapi.java.spi.TypeEnvironment environment) |
|
protected List<org.revapi.Difference> |
doEnd() |
|
protected void |
doVisitField(org.revapi.java.spi.JavaFieldElement oldField,
org.revapi.java.spi.JavaFieldElement newField) |
|
String |
getExtensionId() |
|
EnumSet<org.revapi.java.spi.Check.Type> |
getInterest() |
|
Reader |
getJSONSchema() |
|
void |
initialize(org.revapi.AnalysisContext analysisContext) |
createDifference, createDifferenceWithExplicitParams, doVisitAnnotation, doVisitClass, doVisitMethod, doVisitMethodParameter, getAnalysisContext, getNewTypeEnvironment, getOldTypeEnvironment, isAccessible, isBothAccessible, isBothPrivate, isDescendingOnNonExisting, isMissing, popIfActive, pushActive, setNewTypeEnvironment, setOldTypeEnvironment, visitAnnotation, visitClass, visitEnd, visitField, visitMethod, visitMethodParameter
public EnumSet<org.revapi.java.spi.Check.Type> getInterest()
public void initialize(@Nonnull org.revapi.AnalysisContext analysisContext)
initialize
in class org.revapi.java.spi.CheckBase
@Nullable public String getExtensionId()
getExtensionId
in class org.revapi.java.spi.CheckBase
@Nullable public Reader getJSONSchema()
getJSONSchema
in class org.revapi.java.spi.CheckBase
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 computeStructuralId(TypeElement type, org.revapi.java.spi.TypeEnvironment environment)
public static long computeSerialVersionUID(TypeElement type, org.revapi.java.spi.TypeEnvironment environment)
ObjectStreamClass.computeDefaultSUID(java.lang.Class)
method.Copyright © 2014-2018 Lukas Krejci. All Rights Reserved.