@Deprecated public final class AnnotatedElementFilter extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractIncludeExcludeFilter.InclusionState
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
doNothing
Deprecated.
|
protected java.util.function.Predicate<String> |
excludeTest
Deprecated.
|
protected java.util.function.Predicate<String> |
includeTest
Deprecated.
|
| Constructor and Description |
|---|
AnnotatedElementFilter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applies(org.revapi.Element<?> element)
Deprecated.
|
protected boolean |
canBeReIncluded(org.revapi.java.spi.JavaModelElement element)
Deprecated.
|
void |
close()
Deprecated.
|
protected java.util.function.Predicate<String> |
composeTest(List<String> fullMatches,
List<Pattern> patterns)
Deprecated.
|
String |
getExtensionId()
Deprecated.
|
Reader |
getJSONSchema()
Deprecated.
|
protected java.util.stream.Stream<String> |
getTestedElementRepresentations(org.revapi.java.spi.JavaModelElement element)
Deprecated.
|
void |
initialize(org.revapi.AnalysisContext analysisContext)
Deprecated.
|
boolean |
shouldDescendInto(Object element)
Deprecated.
|
protected void |
validateConfiguration(boolean excludes,
List<String> fullMatches,
List<Pattern> patterns,
boolean regexes)
Deprecated.
|
protected java.util.function.Predicate<String> includeTest
protected java.util.function.Predicate<String> excludeTest
protected boolean doNothing
protected boolean canBeReIncluded(org.revapi.java.spi.JavaModelElement element)
protected java.util.stream.Stream<String> getTestedElementRepresentations(org.revapi.java.spi.JavaModelElement element)
protected void validateConfiguration(boolean excludes,
List<String> fullMatches,
List<Pattern> patterns,
boolean regexes)
protected java.util.function.Predicate<String> composeTest(List<String> fullMatches, List<Pattern> patterns)
public void close()
throws Exception
close in interface AutoCloseableException@Nullable public String getExtensionId()
getExtensionId in interface org.revapi.configuration.Configurable@Nullable public Reader getJSONSchema()
getJSONSchema in interface org.revapi.configuration.Configurablepublic void initialize(@Nonnull org.revapi.AnalysisContext analysisContext)
initialize in interface org.revapi.configuration.Configurablepublic boolean applies(@Nullable org.revapi.Element<?> element)
applies in interface org.revapi.query.Filter<org.revapi.Element<?>>Copyright © 2014-2021 Lukas Krejci. All Rights Reserved.