Class ModifierChanged

java.lang.Object
org.revapi.java.spi.CheckBase
org.revapi.java.checks.common.ModifierChanged
All Implemented Interfaces:
org.revapi.configuration.Configurable, org.revapi.java.spi.Check
Direct Known Subclasses:
NoLongerAbstract, NoLongerAbstract, NoLongerFinal, NoLongerFinal, NoLongerFinal, NoLongerStatic, NoLongerStatic, NowAbstract, NowAbstract, NowFinal, NowFinal, NowFinal, NowStatic, NowStatic

public abstract class ModifierChanged 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
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ModifierChanged(boolean added, org.revapi.java.spi.Code code, Modifier modifier)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<org.revapi.Difference>
     
    protected final void
    doVisit(org.revapi.java.spi.JavaModelElement oldElement, org.revapi.java.spi.JavaModelElement newElement)
     
    static String
    stringify(Set<Modifier> modifiers)
     

    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, 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

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

    getInterest
  • Constructor Details

    • ModifierChanged

      protected ModifierChanged(boolean added, org.revapi.java.spi.Code code, Modifier modifier)
  • Method Details

    • doVisit

      protected final void doVisit(org.revapi.java.spi.JavaModelElement oldElement, org.revapi.java.spi.JavaModelElement newElement)
    • doEnd

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

      public static String stringify(Set<Modifier> modifiers)