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, visitMethodParameterpublic EnumSet<org.revapi.java.spi.Check.Type> getInterest()
public void initialize(@Nonnull org.revapi.AnalysisContext analysisContext)
initialize in interface org.revapi.configuration.Configurableinitialize in class org.revapi.java.spi.CheckBasepublic String getExtensionId()
getExtensionId in interface org.revapi.configuration.ConfigurablegetExtensionId in class org.revapi.java.spi.CheckBasepublic Reader getJSONSchema()
getJSONSchema in interface org.revapi.configuration.ConfigurablegetJSONSchema in class org.revapi.java.spi.CheckBaseprotected void doVisitClass(@Nullable org.revapi.java.spi.JavaTypeElement oldType, @Nullable org.revapi.java.spi.JavaTypeElement newType)
doVisitClass in class org.revapi.java.spi.CheckBaseprotected 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.CheckBasepublic 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.