Class MovedInHierarchy

java.lang.Object
org.revapi.java.spi.CheckBase
org.revapi.java.checks.common.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 Link icon

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

    org.revapi.java.spi.CheckBase.ActiveElements<T extends org.revapi.java.spi.JavaElement>

    Nested classes/interfaces inherited from interface org.revapi.java.spi.Check Link icon

    org.revapi.java.spi.Check.Type
  • Constructor Summary Link icon

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

    Modifier and Type
    Method
    Description
    protected List<org.revapi.Difference>
     
    protected void
    doVisit(org.revapi.java.spi.JavaModelElement oldEl, org.revapi.java.spi.JavaModelElement newEl)
     

    Methods inherited from class org.revapi.java.spi.CheckBase Link icon

    createDifference, createDifferenceWithExplicitParams, doVisitAnnotation, doVisitClass, doVisitField, 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

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.revapi.java.spi.Check Link icon

    getInterest
  • Constructor Details Link icon

    • MovedInHierarchy Link icon

      protected MovedInHierarchy(org.revapi.java.spi.Code moveUp, org.revapi.java.spi.Code moveDown)
  • Method Details Link icon

    • doVisit Link icon

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

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