Class MovedInHierarchy

  • All Implemented Interfaces:
    org.revapi.configuration.Configurable, org.revapi.java.spi.Check
    Direct Known Subclasses:
    FieldMovedInHierarchy, MethodMovedInHierarchy

    public abstract class MovedInHierarchy
    extends org.revapi.java.spi.CheckBase
    Since:
    0.11.0
    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
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected MovedInHierarchy​(org.revapi.java.spi.Code moveUp, org.revapi.java.spi.Code moveDown)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected List<org.revapi.Difference> doEnd()  
      protected void doVisit​(org.revapi.java.spi.JavaModelElement oldEl, org.revapi.java.spi.JavaModelElement newEl)  
      • Methods inherited from class org.revapi.java.spi.CheckBase

        createDifference, createDifferenceWithExplicitParams, doVisitAnnotation, doVisitClass, doVisitField, doVisitMethod, doVisitMethodParameter, getAnalysisContext, getExtensionId, getJSONSchema, getNewTypeEnvironment, getOldTypeEnvironment, initialize, isAccessible, isBothAccessible, isBothPrivate, isDescendingOnNonExisting, isMissing, peekLastActive, popIfActive, pushActive, setNewTypeEnvironment, setOldTypeEnvironment, visitAnnotation, visitClass, visitEnd, visitField, visitMethod, visitMethodParameter
      • Methods inherited from interface org.revapi.java.spi.Check

        getInterest
    • Constructor Detail

      • MovedInHierarchy

        protected MovedInHierarchy​(org.revapi.java.spi.Code moveUp,
                                   org.revapi.java.spi.Code moveDown)
    • Method Detail

      • doVisit

        protected void doVisit​(@Nullable
                               org.revapi.java.spi.JavaModelElement oldEl,
                               @Nullable
                               org.revapi.java.spi.JavaModelElement newEl)
      • doEnd

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