Package org.revapi.java.checks.methods
Class ReturnTypeChanged
- java.lang.Object
-
- org.revapi.java.spi.CheckBase
-
- org.revapi.java.checks.methods.ReturnTypeChanged
-
- All Implemented Interfaces:
org.revapi.configuration.Configurable
,org.revapi.java.spi.Check
public final class ReturnTypeChanged extends org.revapi.java.spi.CheckBase
- Since:
- 0.1
- Author:
- Lukas Krejci
-
-
Constructor Summary
Constructors Constructor Description ReturnTypeChanged()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<org.revapi.Difference>
doEnd()
protected void
doVisitMethod(org.revapi.java.spi.JavaMethodElement oldMethod, org.revapi.java.spi.JavaMethodElement newMethod)
EnumSet<org.revapi.java.spi.Check.Type>
getInterest()
-
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, pushActive, setNewTypeEnvironment, setOldTypeEnvironment, visitAnnotation, visitClass, visitEnd, visitField, visitMethod, visitMethodParameter
-
-
-
-
Method Detail
-
getInterest
public EnumSet<org.revapi.java.spi.Check.Type> getInterest()
-
doVisitMethod
protected void doVisitMethod(@Nullable org.revapi.java.spi.JavaMethodElement oldMethod, @Nullable org.revapi.java.spi.JavaMethodElement newMethod)
- Overrides:
doVisitMethod
in classorg.revapi.java.spi.CheckBase
-
-