public class SerializationChecker
extends org.revapi.java.spi.CheckBase
Constructor and Description |
---|
SerializationChecker() |
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. |
static long |
computeStructuralId(TypeElement type,
org.revapi.java.spi.TypeEnvironment environment) |
protected List<org.revapi.Difference> |
doEnd() |
protected void |
doVisitClass(org.revapi.java.spi.JavaTypeElement oldType,
org.revapi.java.spi.JavaTypeElement newType) |
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, doVisitMethod, doVisitMethodParameter, getAnalysisContext, getNewTypeEnvironment, getOldTypeEnvironment, isAccessible, isBothAccessible, isBothPrivate, isDescendingOnNonExisting, isMissing, peekLastActive, 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 interface org.revapi.configuration.Configurable
initialize
in class org.revapi.java.spi.CheckBase
public String getExtensionId()
getExtensionId
in interface org.revapi.configuration.Configurable
getExtensionId
in class org.revapi.java.spi.CheckBase
public Reader getJSONSchema()
getJSONSchema
in interface org.revapi.configuration.Configurable
getJSONSchema
in class org.revapi.java.spi.CheckBase
protected void doVisitClass(@Nullable org.revapi.java.spi.JavaTypeElement oldType, @Nullable org.revapi.java.spi.JavaTypeElement newType)
doVisitClass
in class org.revapi.java.spi.CheckBase
protected void doVisitField(@Nullable org.revapi.java.spi.JavaFieldElement oldField, @Nullable org.revapi.java.spi.JavaFieldElement newField)
doVisitField
in class org.revapi.java.spi.CheckBase
@Nullable 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-2020 Lukas Krejci. All Rights Reserved.