Package org.revapi.java.filters
Class AnnotatedElementFilter
- java.lang.Object
-
- org.revapi.java.filters.AnnotatedElementFilter
-
- All Implemented Interfaces:
AutoCloseable,org.revapi.configuration.Configurable,org.revapi.ElementFilter,org.revapi.query.Filter<org.revapi.Element<?>>,org.revapi.TreeFilterProvider
@Deprecated public final class AnnotatedElementFilter extends Object
Deprecated.the generic filtering together with matcher.java can fulfil the same purpose as this- Since:
- 0.5.1
- Author:
- Lukas Krejci
-
-
Field Summary
Fields Modifier and Type Field Description protected booleandoNothingDeprecated.protected Predicate<String>excludeTestDeprecated.protected Predicate<String>includeTestDeprecated.
-
Constructor Summary
Constructors Constructor Description AnnotatedElementFilter()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanapplies(org.revapi.Element<?> element)Deprecated.protected booleancanBeReIncluded(org.revapi.java.spi.JavaModelElement element)Deprecated.voidclose()Deprecated.protected Predicate<String>composeTest(List<String> fullMatches, List<Pattern> patterns)Deprecated.StringgetExtensionId()Deprecated.ReadergetJSONSchema()Deprecated.protected Stream<String>getTestedElementRepresentations(org.revapi.java.spi.JavaModelElement element)Deprecated.voidinitialize(org.revapi.AnalysisContext analysisContext)Deprecated.booleanshouldDescendInto(Object element)Deprecated.protected voidvalidateConfiguration(boolean excludes, List<String> fullMatches, List<Pattern> patterns, boolean regexes)Deprecated.
-
-
-
Method Detail
-
canBeReIncluded
protected boolean canBeReIncluded(org.revapi.java.spi.JavaModelElement element)
Deprecated.
-
getTestedElementRepresentations
protected Stream<String> getTestedElementRepresentations(org.revapi.java.spi.JavaModelElement element)
Deprecated.
-
validateConfiguration
protected void validateConfiguration(boolean excludes, List<String> fullMatches, List<Pattern> patterns, boolean regexes)Deprecated.
-
composeTest
protected Predicate<String> composeTest(List<String> fullMatches, List<Pattern> patterns)
Deprecated.
-
close
public void close() throws ExceptionDeprecated.- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
getExtensionId
@Nullable public String getExtensionId()
Deprecated.- Specified by:
getExtensionIdin interfaceorg.revapi.configuration.Configurable
-
getJSONSchema
@Nullable public Reader getJSONSchema()
Deprecated.- Specified by:
getJSONSchemain interfaceorg.revapi.configuration.Configurable
-
initialize
public void initialize(@Nonnull org.revapi.AnalysisContext analysisContext)
Deprecated.- Specified by:
initializein interfaceorg.revapi.configuration.Configurable
-
applies
public boolean applies(@Nullable org.revapi.Element<?> element)
Deprecated.- Specified by:
appliesin interfaceorg.revapi.query.Filter<org.revapi.Element<?>>
-
-