Class DownplayHarmlessAnnotationChanges
- java.lang.Object
-
- org.revapi.java.transforms.annotations.DownplayHarmlessAnnotationChanges
-
- All Implemented Interfaces:
AutoCloseable
,org.revapi.configuration.Configurable
,org.revapi.DifferenceTransform<org.revapi.java.spi.JavaModelElement>
public final class DownplayHarmlessAnnotationChanges extends Object implements org.revapi.DifferenceTransform<org.revapi.java.spi.JavaModelElement>
- Since:
- 0.12.0
- Author:
- Lukas Krejci
-
-
Constructor Summary
Constructors Constructor Description DownplayHarmlessAnnotationChanges()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Pattern[]
getDifferenceCodePatterns()
String
getExtensionId()
Reader
getJSONSchema()
void
initialize(org.revapi.AnalysisContext analysisContext)
org.revapi.Difference
transform(org.revapi.java.spi.JavaModelElement oldElement, org.revapi.java.spi.JavaModelElement newElement, org.revapi.Difference difference)
-
-
-
Method Detail
-
getDifferenceCodePatterns
@Nonnull public Pattern[] getDifferenceCodePatterns()
- Specified by:
getDifferenceCodePatterns
in interfaceorg.revapi.DifferenceTransform<org.revapi.java.spi.JavaModelElement>
-
transform
@Nullable public org.revapi.Difference transform(@Nullable org.revapi.java.spi.JavaModelElement oldElement, @Nullable org.revapi.java.spi.JavaModelElement newElement, @Nonnull org.revapi.Difference difference)
- Specified by:
transform
in interfaceorg.revapi.DifferenceTransform<org.revapi.java.spi.JavaModelElement>
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
getExtensionId
@Nullable public String getExtensionId()
- Specified by:
getExtensionId
in interfaceorg.revapi.configuration.Configurable
-
getJSONSchema
@Nullable public Reader getJSONSchema()
- Specified by:
getJSONSchema
in interfaceorg.revapi.configuration.Configurable
-
initialize
public void initialize(@Nonnull org.revapi.AnalysisContext analysisContext)
- Specified by:
initialize
in interfaceorg.revapi.configuration.Configurable
-
-