Package org.revapi.java.checks.classes
Class NonPublicClassPartOfAPI
- java.lang.Object
-
- org.revapi.java.spi.CheckBase
-
- org.revapi.java.checks.classes.NonPublicClassPartOfAPI
-
- All Implemented Interfaces:
org.revapi.configuration.Configurable
,org.revapi.java.spi.Check
public final class NonPublicClassPartOfAPI extends org.revapi.java.spi.CheckBase
- Since:
- 0.1
- Author:
- Lukas Krejci
-
-
Constructor Summary
Constructors Constructor Description NonPublicClassPartOfAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<org.revapi.Difference>
doEnd()
protected void
doVisitClass(org.revapi.java.spi.JavaTypeElement oldType, org.revapi.java.spi.JavaTypeElement newType)
String
getExtensionId()
EnumSet<org.revapi.java.spi.Check.Type>
getInterest()
Reader
getJSONSchema()
void
initialize(org.revapi.AnalysisContext analysisContext)
boolean
isDescendingOnNonExisting()
-
Methods inherited from class org.revapi.java.spi.CheckBase
createDifference, createDifferenceWithExplicitParams, doVisitAnnotation, doVisitField, doVisitMethod, doVisitMethodParameter, getAnalysisContext, getNewTypeEnvironment, getOldTypeEnvironment, isAccessible, isBothAccessible, isBothPrivate, isMissing, peekLastActive, popIfActive, popIfActive, pushActive, setNewTypeEnvironment, setOldTypeEnvironment, visitAnnotation, visitClass, visitEnd, visitField, visitMethod, visitMethodParameter
-
-
-
-
Method Detail
-
initialize
public void initialize(@Nonnull org.revapi.AnalysisContext analysisContext)
- Specified by:
initialize
in interfaceorg.revapi.configuration.Configurable
- Overrides:
initialize
in classorg.revapi.java.spi.CheckBase
-
getExtensionId
@Nullable public String getExtensionId()
- Specified by:
getExtensionId
in interfaceorg.revapi.configuration.Configurable
- Overrides:
getExtensionId
in classorg.revapi.java.spi.CheckBase
-
getJSONSchema
@Nullable public Reader getJSONSchema()
- Specified by:
getJSONSchema
in interfaceorg.revapi.configuration.Configurable
- Overrides:
getJSONSchema
in classorg.revapi.java.spi.CheckBase
-
getInterest
public EnumSet<org.revapi.java.spi.Check.Type> getInterest()
-
isDescendingOnNonExisting
public boolean isDescendingOnNonExisting()
- Specified by:
isDescendingOnNonExisting
in interfaceorg.revapi.java.spi.Check
- Overrides:
isDescendingOnNonExisting
in classorg.revapi.java.spi.CheckBase
-
doVisitClass
protected void doVisitClass(org.revapi.java.spi.JavaTypeElement oldType, org.revapi.java.spi.JavaTypeElement newType)
- Overrides:
doVisitClass
in classorg.revapi.java.spi.CheckBase
-
doEnd
protected List<org.revapi.Difference> doEnd()
- Overrides:
doEnd
in classorg.revapi.java.spi.CheckBase
-
-