Class FieldMovedInHierarchy

java.lang.Object
org.revapi.java.spi.CheckBase
org.revapi.java.checks.common.MovedInHierarchy
org.revapi.java.checks.fields.FieldMovedInHierarchy
All Implemented Interfaces:
org.revapi.configuration.Configurable, org.revapi.java.spi.Check

public final class FieldMovedInHierarchy extends MovedInHierarchy
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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doVisitField(org.revapi.java.spi.JavaFieldElement oldField, org.revapi.java.spi.JavaFieldElement newField)
     
    EnumSet<org.revapi.java.spi.Check.Type>
     

    Methods inherited from class org.revapi.java.checks.common.MovedInHierarchy

    doEnd, doVisit

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FieldMovedInHierarchy

      public FieldMovedInHierarchy()
  • Method Details

    • getInterest

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

      protected void doVisitField(@Nullable org.revapi.java.spi.JavaFieldElement oldField, @Nullable org.revapi.java.spi.JavaFieldElement newField)
      Overrides:
      doVisitField in class org.revapi.java.spi.CheckBase