Package org.revapi.java.checks.fields
Class EnumConstantsOrderChanged
- java.lang.Object
-
- org.revapi.java.spi.CheckBase
-
- org.revapi.java.checks.fields.EnumConstantsOrderChanged
-
- All Implemented Interfaces:
org.revapi.configuration.Configurable
,org.revapi.java.spi.Check
public class EnumConstantsOrderChanged extends org.revapi.java.spi.CheckBase
- Since:
- 1.0
- Author:
- Lukas Krejci
-
-
Constructor Summary
Constructors Constructor Description EnumConstantsOrderChanged()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
EnumSet<org.revapi.java.spi.Check.Type>
getInterest()
-
Methods inherited from class org.revapi.java.spi.CheckBase
createDifference, createDifferenceWithExplicitParams, doVisitAnnotation, doVisitMethod, doVisitMethodParameter, getAnalysisContext, getExtensionId, getJSONSchema, getNewTypeEnvironment, getOldTypeEnvironment, initialize, isAccessible, isBothAccessible, isBothPrivate, isDescendingOnNonExisting, isMissing, peekLastActive, popIfActive, pushActive, setNewTypeEnvironment, setOldTypeEnvironment, visitAnnotation, visitClass, visitEnd, visitField, visitMethod, visitMethodParameter
-
-
-
-
Method Detail
-
getInterest
public EnumSet<org.revapi.java.spi.Check.Type> getInterest()
-
doVisitClass
protected void doVisitClass(@Nullable org.revapi.java.spi.JavaTypeElement oldType, @Nullable org.revapi.java.spi.JavaTypeElement newType)
- Overrides:
doVisitClass
in classorg.revapi.java.spi.CheckBase
-
doVisitField
protected void doVisitField(@Nullable org.revapi.java.spi.JavaFieldElement oldField, @Nullable org.revapi.java.spi.JavaFieldElement newField)
- Overrides:
doVisitField
in classorg.revapi.java.spi.CheckBase
-
-