Class VisibilityReduced
java.lang.Object
org.revapi.java.spi.CheckBase
org.revapi.java.checks.common.VisibilityChanged
org.revapi.java.checks.methods.VisibilityReduced
- All Implemented Interfaces:
org.revapi.configuration.Configurable
,org.revapi.java.spi.Check
- 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doVisitMethod
(org.revapi.java.spi.JavaMethodElement oldMethod, org.revapi.java.spi.JavaMethodElement newMethod) EnumSet
<org.revapi.java.spi.Check.Type> protected org.revapi.Difference
report
(org.revapi.java.spi.CheckBase.ActiveElements<?> els, Modifier oldVisibility, Modifier newVisibility) Methods inherited from class org.revapi.java.checks.common.VisibilityChanged
doEnd, doVisit
Methods inherited from class org.revapi.java.spi.CheckBase
createDifference, createDifferenceWithExplicitParams, doVisitAnnotation, doVisitClass, doVisitField, doVisitMethodParameter, getAnalysisContext, getExtensionId, getJSONSchema, getNewTypeEnvironment, getOldTypeEnvironment, initialize, isAccessible, isBothAccessible, isBothPrivate, isDescendingOnNonExisting, isMissing, peekLastActive, popIfActive, popIfActive, pushActive, setNewTypeEnvironment, setOldTypeEnvironment, visitAnnotation, visitClass, visitEnd, visitField, visitMethod, visitMethodParameter
-
Constructor Details
-
VisibilityReduced
public VisibilityReduced()
-
-
Method Details
-
getInterest
-
doVisitMethod
-
report
protected org.revapi.Difference report(org.revapi.java.spi.CheckBase.ActiveElements<?> els, Modifier oldVisibility, Modifier newVisibility) - Overrides:
report
in classVisibilityChanged
-