Class VisibilityChanged

    • 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 VisibilityChanged​(org.revapi.java.spi.Code code, boolean reportIncrease)  
    • 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 oldElement, org.revapi.java.spi.JavaModelElement newElement)  
      protected org.revapi.Difference report​(org.revapi.java.spi.CheckBase.ActiveElements<?> els, Modifier oldVisibility, Modifier newVisibility)  
      • 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 interface org.revapi.java.spi.Check

        getInterest
    • Constructor Detail

      • VisibilityChanged

        protected VisibilityChanged​(org.revapi.java.spi.Code code,
                                    boolean reportIncrease)
    • Method Detail

      • doVisit

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

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

        protected org.revapi.Difference report​(org.revapi.java.spi.CheckBase.ActiveElements<?> els,
                                               Modifier oldVisibility,
                                               Modifier newVisibility)