Class NoLongerConstant

  • All Implemented Interfaces:
    org.revapi.configuration.Configurable, org.revapi.java.spi.Check

    public final class NoLongerConstant
    extends org.revapi.java.spi.CheckBase
    Since:
    0.1
    Author:
    Lukas Krejci
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.revapi.java.spi.CheckBase

        org.revapi.java.spi.CheckBase.ActiveElements<T extends org.revapi.java.spi.JavaElement>
      • Nested classes/interfaces inherited from interface org.revapi.java.spi.Check

        org.revapi.java.spi.Check.Type
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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()  
      • Methods inherited from class org.revapi.java.spi.CheckBase

        createDifference, createDifferenceWithExplicitParams, doVisitAnnotation, doVisitClass, doVisitMethod, doVisitMethodParameter, getAnalysisContext, getExtensionId, getJSONSchema, getNewTypeEnvironment, getOldTypeEnvironment, initialize, isAccessible, isBothAccessible, isBothPrivate, isDescendingOnNonExisting, isMissing, peekLastActive, popIfActive, popIfActive, pushActive, setNewTypeEnvironment, setOldTypeEnvironment, visitAnnotation, visitClass, visitEnd, visitField, visitMethod, visitMethodParameter
    • Constructor Detail

      • NoLongerConstant

        public NoLongerConstant()
    • Method Detail

      • getInterest

        public EnumSet<org.revapi.java.spi.Check.Type> getInterest()
      • doVisitField

        protected void doVisitField​(org.revapi.java.spi.JavaFieldElement oldField,
                                    org.revapi.java.spi.JavaFieldElement newField)
        Overrides:
        doVisitField in class org.revapi.java.spi.CheckBase
      • doEnd

        protected List<org.revapi.Difference> doEnd()
        Overrides:
        doEnd in class org.revapi.java.spi.CheckBase